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

Unified Diff: ui/gl/gl_context.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.h ('k') | ui/gl/gl_context_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context.cc
diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc
index 53f0c542f1df3c9c8fdb549a010c219ce4dc84bb..02728ddbf561bd36230fc4ee395af58cd34d0ffb 100644
--- a/ui/gl/gl_context.cc
+++ b/ui/gl/gl_context.cc
@@ -22,7 +22,7 @@
#include "ui/gl/gl_version_info.h"
#include "ui/gl/gpu_timing.h"
-namespace gfx {
+namespace gl {
namespace {
base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
@@ -213,7 +213,7 @@ void GLContext::SetRealGLApi() {
GLContextReal::GLContextReal(GLShareGroup* share_group)
: GLContext(share_group) {}
-scoped_refptr<gfx::GPUTimingClient> GLContextReal::CreateGPUTimingClient() {
+scoped_refptr<gl::GPUTimingClient> GLContextReal::CreateGPUTimingClient() {
if (!gpu_timing_) {
gpu_timing_.reset(GPUTiming::CreateGPUTiming(this));
}
@@ -230,4 +230,4 @@ void GLContextReal::SetCurrent(GLSurface* surface) {
current_real_context_.Pointer()->Set(surface ? this : nullptr);
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_context.h ('k') | ui/gl/gl_context_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698