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

Unified Diff: ui/gl/gl_context_wgl.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_context_wgl.h ('k') | ui/gl/gl_context_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_wgl.cc
diff --git a/ui/gl/gl_context_wgl.cc b/ui/gl/gl_context_wgl.cc
index 81926a644005fb57332802e799f776e7ed98d6b7..638623cea6bac82045361261418bc187e20e29aa 100644
--- a/ui/gl/gl_context_wgl.cc
+++ b/ui/gl/gl_context_wgl.cc
@@ -12,7 +12,7 @@
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_surface_wgl.h"
-namespace gfx {
+namespace gl {
GLContextWGL::GLContextWGL(GLShareGroup* share_group)
: GLContextReal(share_group), context_(nullptr) {
@@ -115,7 +115,7 @@ void* GLContextWGL::GetHandle() {
void GLContextWGL::OnSetSwapInterval(int interval) {
DCHECK(IsCurrent(nullptr));
- if (gfx::g_driver_wgl.ext.b_WGL_EXT_swap_control) {
+ if (gl::g_driver_wgl.ext.b_WGL_EXT_swap_control) {
wglSwapIntervalEXT(interval);
} else {
LOG(WARNING) <<
@@ -141,4 +141,4 @@ GLContextWGL::~GLContextWGL() {
Destroy();
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_context_wgl.h ('k') | ui/gl/gl_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698