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

Unified Diff: ui/gl/gl_implementation.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_implementation.h ('k') | ui/gl/gl_implementation_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_implementation.cc
diff --git a/ui/gl/gl_implementation.cc b/ui/gl/gl_implementation.cc
index 4951de06fdaa08e13b037f364d2084e6e3aa7cc5..f24732d22f1172d6373321e62be914eee99b4359 100644
--- a/ui/gl/gl_implementation.cc
+++ b/ui/gl/gl_implementation.cc
@@ -20,7 +20,7 @@
#include "ui/gl/gl_gl_api_implementation.h"
#include "ui/gl/gl_version_info.h"
-namespace gfx {
+namespace gl {
namespace {
@@ -206,9 +206,8 @@ bool WillUseGLGetStringForExtensions() {
reinterpret_cast<const char*>(glGetString(GL_VERSION));
unsigned major_version, minor_version;
bool is_es, is_es2, is_es3;
- gfx::GLVersionInfo::ParseVersionString(
- version_str, &major_version, &minor_version,
- &is_es, &is_es2, &is_es3);
+ gl::GLVersionInfo::ParseVersionString(
+ version_str, &major_version, &minor_version, &is_es, &is_es2, &is_es3);
return is_es || major_version < 3;
}
@@ -228,4 +227,4 @@ base::NativeLibrary LoadLibraryAndPrintError(const base::FilePath& filename) {
return library;
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_implementation.h ('k') | ui/gl/gl_implementation_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698