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

Unified Diff: ui/gl/gl_surface_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_surface_wgl.h ('k') | ui/gl/gl_surface_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_wgl.cc
diff --git a/ui/gl/gl_surface_wgl.cc b/ui/gl/gl_surface_wgl.cc
index d380e757fae597c893b7c7749115c83d12399c0c..42d8974e14a5bbec1552f4320c93fc9d25e825b0 100644
--- a/ui/gl/gl_surface_wgl.cc
+++ b/ui/gl/gl_surface_wgl.cc
@@ -12,7 +12,7 @@
#include "ui/gl/gl_gl_api_implementation.h"
#include "ui/gl/gl_wgl_api_implementation.h"
-namespace gfx {
+namespace gl {
namespace {
const PIXELFORMATDESCRIPTOR kPixelFormatDescriptor = {
@@ -337,7 +337,7 @@ PbufferGLSurfaceWGL::~PbufferGLSurfaceWGL() {
bool PbufferGLSurfaceWGL::Initialize(GLSurface::Format format) {
DCHECK(!device_context_);
- if (!gfx::g_driver_wgl.fn.wglCreatePbufferARBFn) {
+ if (!gl::g_driver_wgl.fn.wglCreatePbufferARBFn) {
LOG(ERROR) << "wglCreatePbufferARB not available.";
Destroy();
return false;
@@ -394,4 +394,4 @@ void* PbufferGLSurfaceWGL::GetHandle() {
return device_context_;
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_surface_wgl.h ('k') | ui/gl/gl_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698