Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: ui/gl/gl_implementation_ozone.cc

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_implementation_ozone.cc
diff --git a/ui/gl/gl_implementation_ozone.cc b/ui/gl/gl_implementation_ozone.cc
index 07f82d3c78ebd5fafd8b8c7657c26aec612006d4..13a61989e12f7d8be79e6a48c8a5bde20bd9393f 100644
--- a/ui/gl/gl_implementation_ozone.cc
+++ b/ui/gl/gl_implementation_ozone.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/bind.h"
-#include "ui/gfx/ozone/surface_factory_ozone.h"
#include "ui/gl/gl_bindings.h"
#include "ui/gl/gl_context_stub_with_extensions.h"
#include "ui/gl/gl_egl_api_implementation.h"
@@ -11,6 +10,7 @@
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_implementation_osmesa.h"
#include "ui/gl/gl_osmesa_api_implementation.h"
+#include "ui/ozone/factories/surface_factory_ozone.h"
#include "ui/ozone/ozone_platform.h"
namespace gfx {
@@ -44,7 +44,7 @@ bool InitializeStaticGLBindings(GLImplementation implementation) {
return InitializeStaticGLBindingsOSMesaGL();
case kGLImplementationEGLGLES2:
ui::OzonePlatform::InitializeForGPU();
- if (!gfx::SurfaceFactoryOzone::GetInstance()->LoadEGLGLES2Bindings(
+ if (!ui::SurfaceFactoryOzone::GetInstance()->LoadEGLGLES2Bindings(
base::Bind(&AddGLNativeLibrary),
base::Bind(&SetGLGetProcAddressProc)))
return false;
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_surface_egl.cc » ('j') | ui/ozone/factories/cursor_factory_ozone.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698