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 7cd9ac68771a284e1a8b3855d86f700d594f5a85..2d223ad01e28352df5f3e1f33f9750a4bb5dc2eb 100644 |
--- a/ui/ozone/platform/headless/headless_surface_factory.cc |
+++ b/ui/ozone/platform/headless/headless_surface_factory.cc |
@@ -72,6 +72,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, |