Index: ui/base/ozone/surface_factory_ozone.cc |
diff --git a/ui/base/ozone/surface_factory_ozone.cc b/ui/base/ozone/surface_factory_ozone.cc |
index 7d8d64bedbe6120e9398e9a21cad3d2f1f3cbdcd..3147312d4e32b44b8866fa8212e1dcef0ebe866d 100644 |
--- a/ui/base/ozone/surface_factory_ozone.cc |
+++ b/ui/base/ozone/surface_factory_ozone.cc |
@@ -16,8 +16,9 @@ class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone { |
SurfaceFactoryOzoneStub() {} |
virtual ~SurfaceFactoryOzoneStub() {} |
- virtual void InitializeHardware() OVERRIDE {} |
+ virtual bool InitializeHardware() OVERRIDE { return true; } |
virtual void ShutdownHardware() OVERRIDE {} |
+ virtual void* GetNativeDisplay() OVERRIDE { return 0; } |
rjkroege
2013/08/27 16:03:42
this is also unnecessary.
dnicoara
2013/08/28 14:58:03
Done.
|
virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE { return 0; } |
virtual gfx::AcceleratedWidget RealizeAcceleratedWidget( |
gfx::AcceleratedWidget w) OVERRIDE { |
@@ -29,6 +30,7 @@ class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone { |
const gfx::Rect& bounds) OVERRIDE { |
return false; |
} |
+ virtual bool SwapBuffers(gfx::AcceleratedWidget w) OVERRIDE { return true; } |
rjkroege
2013/08/27 16:03:42
this is unnecessary.
dnicoara
2013/08/28 14:58:03
Done.
|
virtual gfx::VSyncProvider* GetVSyncProvider( |
gfx::AcceleratedWidget w) OVERRIDE { |
return NULL; |
@@ -61,6 +63,14 @@ gfx::Screen* SurfaceFactoryOzone::CreateDesktopScreen() { |
return NULL; |
} |
+void* SurfaceFactoryOzone::GetNativeDisplay() { |
+ return NULL; |
+} |
+ |
+bool SurfaceFactoryOzone::SwapBuffers(gfx::AcceleratedWidget) { |
+ return true; |
+} |
+ |
// static |
SurfaceFactoryOzone* SurfaceFactoryOzone::CreateTestHelper() { |
return new SurfaceFactoryOzoneStub; |