Index: ui/ozone/public/surface_factory_ozone.cc |
diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc |
index 76050437e0a463907268c56a365a3fb14e58f103..55e3be925c7f90f2be314e810cd41d104f9feaa4 100644 |
--- a/ui/ozone/public/surface_factory_ozone.cc |
+++ b/ui/ozone/public/surface_factory_ozone.cc |
@@ -9,24 +9,17 @@ |
#include "base/command_line.h" |
#include "ui/ozone/public/native_pixmap.h" |
#include "ui/ozone/public/surface_ozone_canvas.h" |
-#include "ui/ozone/public/surface_ozone_egl.h" |
namespace ui { |
-SurfaceFactoryOzone::SurfaceFactoryOzone() { |
-} |
+SurfaceFactoryOzone::SurfaceFactoryOzone() {} |
-SurfaceFactoryOzone::~SurfaceFactoryOzone() { |
-} |
+SurfaceFactoryOzone::~SurfaceFactoryOzone() {} |
intptr_t SurfaceFactoryOzone::GetNativeDisplay() { |
return 0; |
} |
-bool SurfaceFactoryOzone::UseNewSurfaceAPI() { |
- return true; |
-} |
- |
scoped_refptr<gl::GLSurface> SurfaceFactoryOzone::CreateViewGLSurface( |
gl::GLImplementation implementation, |
gfx::AcceleratedWidget widget) { |
@@ -46,17 +39,6 @@ scoped_refptr<gl::GLSurface> SurfaceFactoryOzone::CreateOffscreenGLSurface( |
return nullptr; |
} |
-std::unique_ptr<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget( |
- gfx::AcceleratedWidget widget) { |
- return nullptr; |
-} |
- |
-std::unique_ptr<SurfaceOzoneEGL> |
-SurfaceFactoryOzone::CreateSurfacelessEGLSurfaceForWidget( |
- gfx::AcceleratedWidget widget) { |
- return nullptr; |
-} |
- |
std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( |
gfx::AcceleratedWidget widget) { |
return nullptr; |