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

Unified Diff: ui/gl/gl_surface_win.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.cc ('k') | ui/gl/gl_surface_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_win.cc
diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc
index 2fecbc81836073b694a1d3b24bae57edfdfea1b4..5548121dc02384c2a6a0b6eed33d6e8d9405e239 100644
--- a/ui/gl/gl_surface_win.cc
+++ b/ui/gl/gl_surface_win.cc
@@ -28,7 +28,7 @@
reinterpret_cast<EGLNativeDisplayType>(-2)
#endif
-namespace gfx {
+namespace gl {
// This OSMesa GL surface can use GDI to swap the contents of the buffer to a
// view.
@@ -210,7 +210,7 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
DCHECK(window != gfx::kNullAcceleratedWidget);
scoped_refptr<NativeViewGLSurfaceEGL> surface(
new NativeViewGLSurfaceEGL(window));
- std::unique_ptr<VSyncProvider> sync_provider;
+ std::unique_ptr<gfx::VSyncProvider> sync_provider;
sync_provider.reset(new VSyncProviderWin(window));
if (!surface->Initialize(std::move(sync_provider)))
return NULL;
@@ -271,4 +271,4 @@ EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() {
return GetDC(NULL);
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/gl_surface_wgl.cc ('k') | ui/gl/gl_surface_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698