Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: ui/ozone/platform/headless/headless_surface_factory.cc

Issue 1432963003: [Ozone] Extends the lifetime of VaapiWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/headless/headless_surface_factory.cc
diff --git a/ui/ozone/platform/headless/headless_surface_factory.cc b/ui/ozone/platform/headless/headless_surface_factory.cc
index 361bf959c6895488ebd04f1ee47dee62cc5dce96..f96e4706ac1c12bc0b5a40d1bbd580325c1edb27 100644
--- a/ui/ozone/platform/headless/headless_surface_factory.cc
+++ b/ui/ozone/platform/headless/headless_surface_factory.cc
@@ -74,6 +74,7 @@ class TestPixmap : public ui::NativePixmap {
int GetDmaBufFd() const override { return -1; }
int GetDmaBufPitch() const override { return 0; }
gfx::BufferFormat GetBufferFormat() const override { return format_; }
+ gfx::Size GetBufferSize() const override { return gfx::Size(); }
bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int plane_z_order,
gfx::OverlayTransform plane_transform,

Powered by Google App Engine
This is Rietveld 408576698