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

Unified Diff: ui/gl/gl_context_cgl.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_cgl.h ('k') | ui/gl/gl_context_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_cgl.cc
diff --git a/ui/gl/gl_context_cgl.cc b/ui/gl/gl_context_cgl.cc
index 333f2f1af5a2b09005701cbc01088717e9537bd5..73a71ef16f6ddecd9476283001a47916943bd7a1 100644
--- a/ui/gl/gl_context_cgl.cc
+++ b/ui/gl/gl_context_cgl.cc
@@ -19,7 +19,7 @@
#include "ui/gl/scoped_cgl.h"
#include "ui/gl/yuv_to_rgb_converter.h"
-namespace gfx {
+namespace gl {
namespace {
@@ -139,7 +139,7 @@ bool GLContextCGL::Initialize(GLSurface* compatible_surface,
void GLContextCGL::Destroy() {
if (yuv_to_rgb_converter_) {
- gfx::ScopedCGLSetCurrentContext(static_cast<CGLContextObj>(context_));
+ gl::ScopedCGLSetCurrentContext(static_cast<CGLContextObj>(context_));
yuv_to_rgb_converter_.reset();
}
if (discrete_pixelformat_) {
@@ -285,4 +285,4 @@ GpuPreference GLContextCGL::GetGpuPreference() {
return gpu_preference_;
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_context_cgl.h ('k') | ui/gl/gl_context_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698