| Index: ui/gfx/ozone/surface_factory_ozone.cc
|
| diff --git a/ui/gfx/ozone/surface_factory_ozone.cc b/ui/gfx/ozone/surface_factory_ozone.cc
|
| index a99c3af8c9700ee17bed1f1b2fd710c799f45caf..97e28bf241f0c309d7ba1c8f774fb1089c489f31 100644
|
| --- a/ui/gfx/ozone/surface_factory_ozone.cc
|
| +++ b/ui/gfx/ozone/surface_factory_ozone.cc
|
| @@ -14,34 +14,6 @@ namespace gfx {
|
| // static
|
| SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL;
|
|
|
| -class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone {
|
| - public:
|
| - SurfaceFactoryOzoneStub() {}
|
| - virtual ~SurfaceFactoryOzoneStub() {}
|
| -
|
| - virtual HardwareState InitializeHardware() OVERRIDE { return INITIALIZED; }
|
| - virtual void ShutdownHardware() OVERRIDE {}
|
| - virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE { return 0; }
|
| - virtual gfx::AcceleratedWidget RealizeAcceleratedWidget(
|
| - gfx::AcceleratedWidget w) OVERRIDE {
|
| - return 0;
|
| - }
|
| - virtual bool LoadEGLGLES2Bindings(
|
| - AddGLLibraryCallback add_gl_library,
|
| - SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE {
|
| - return true;
|
| - }
|
| - virtual bool AttemptToResizeAcceleratedWidget(
|
| - gfx::AcceleratedWidget w,
|
| - const gfx::Rect& bounds) OVERRIDE {
|
| - return false;
|
| - }
|
| - virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
|
| - gfx::AcceleratedWidget w) OVERRIDE {
|
| - return scoped_ptr<VSyncProvider>();
|
| - }
|
| -};
|
| -
|
| SurfaceFactoryOzone::SurfaceFactoryOzone() {
|
| }
|
|
|
| @@ -85,9 +57,4 @@ const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
|
| return desired_attributes;
|
| }
|
|
|
| -// static
|
| -SurfaceFactoryOzone* SurfaceFactoryOzone::CreateTestHelper() {
|
| - return new SurfaceFactoryOzoneStub;
|
| -}
|
| -
|
| } // namespace gfx
|
|
|