Move code in ui/gl/* from gfx:: to gl::
The code that live in ui/gl/* had some code in the old gfx:: namespace
and other code in the new gl:: namespace. This isn't ideal. Do a mass
rename of all namespaces ui/gl/* and update all references chromium
wide. Mostly automated CL based on the follow steps.
1. Update ui/gl/generate_bindings.py generate code in namespace gl
instead of namespace gfx and autogen bindings.
2. Update the namespaces in ui/gl/* from namespace gfx to namespace gl.
3. Semi-manually fix the namespace on forward declarations of classes
that moved namespace.
4. Use a widescale grep/perl replacement on all symbols that moved
namespaces.
5. Use grep/perl replacement on symbols that are actually in namespace
gfx but used in namespace gl to add fully qualified name.
6. git cl format.
[email protected],[email protected],[email protected]
BUG=none
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review-Url: https://codereview.chromium.org/1998723002
Cr-Commit-Position: refs/heads/master@{#396173}
diff --git a/ui/gl/gl_surface_osmesa.h b/ui/gl/gl_surface_osmesa.h
index dee15eb..9fc8a79 100644
--- a/ui/gl/gl_surface_osmesa.h
+++ b/ui/gl/gl_surface_osmesa.h
@@ -14,7 +14,7 @@
#include "ui/gl/gl_export.h"
#include "ui/gl/gl_surface.h"
-namespace gfx {
+namespace gl {
// A surface that the Mesa software renderer draws to. This is actually just a
// buffer in system memory. GetHandle returns a pointer to the buffer. These
@@ -63,6 +63,6 @@
DISALLOW_COPY_AND_ASSIGN(GLSurfaceOSMesaHeadless);
};
-} // namespace gfx
+} // namespace gl
#endif // UI_GL_GL_SURFACE_OSMESA_H_