| 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..c80d70ca506c249b09406a3a2a51978f3d518653 100644
|
| --- a/ui/base/ozone/surface_factory_ozone.cc
|
| +++ b/ui/base/ozone/surface_factory_ozone.cc
|
| @@ -16,7 +16,7 @@ class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone {
|
| SurfaceFactoryOzoneStub() {}
|
| virtual ~SurfaceFactoryOzoneStub() {}
|
|
|
| - virtual void InitializeHardware() OVERRIDE {}
|
| + virtual HardwareState InitializeHardware() OVERRIDE { return INITIALIZED; }
|
| virtual void ShutdownHardware() OVERRIDE {}
|
| virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE { return 0; }
|
| virtual gfx::AcceleratedWidget RealizeAcceleratedWidget(
|
| @@ -61,6 +61,14 @@ gfx::Screen* SurfaceFactoryOzone::CreateDesktopScreen() {
|
| return NULL;
|
| }
|
|
|
| +intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
|
| + return 0;
|
| +}
|
| +
|
| +bool SurfaceFactoryOzone::SchedulePageFlip(gfx::AcceleratedWidget) {
|
| + return true;
|
| +}
|
| +
|
| // static
|
| SurfaceFactoryOzone* SurfaceFactoryOzone::CreateTestHelper() {
|
| return new SurfaceFactoryOzoneStub;
|
|
|