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

Unified Diff: ui/gl/gl_surface_android.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « ui/gl/gl_surface.cc ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_android.cc
diff --git a/ui/gl/gl_surface_android.cc b/ui/gl/gl_surface_android.cc
index 1486ec4583df1ca7fba763ee6c05c84e0ed23877..c371e69454bfa93967c656caf53eb331a04db75a 100644
--- a/ui/gl/gl_surface_android.cc
+++ b/ui/gl/gl_surface_android.cc
@@ -13,7 +13,7 @@
#include "ui/gl/gl_surface_osmesa.h"
#include "ui/gl/gl_surface_stub.h"
-namespace gfx {
+namespace gl {
// static
bool GLSurface::InitializeOneOffInternal() {
@@ -40,7 +40,7 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
return surface;
}
DCHECK(GetGLImplementation() == kGLImplementationEGLGLES2);
- if (window != kNullAcceleratedWidget) {
+ if (window != gfx::kNullAcceleratedWidget) {
scoped_refptr<GLSurface> surface = new NativeViewGLSurfaceEGL(window);
if (surface->Initialize())
return surface;
@@ -90,4 +90,4 @@ EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() {
return EGL_DEFAULT_DISPLAY;
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_surface.cc ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698