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

Unified Diff: android_webview/browser/scoped_app_gl_state_restore.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 | « android_webview/browser/scoped_app_gl_state_restore.h ('k') | android_webview/browser/test/fake_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/scoped_app_gl_state_restore.cc
diff --git a/android_webview/browser/scoped_app_gl_state_restore.cc b/android_webview/browser/scoped_app_gl_state_restore.cc
index 0c6867f3cbf5c21f05d9f1c3cae1ec3d67252cf0..da1c5aaa9f1fa5545dde708ddfbe8492a7bfbb4a 100644
--- a/android_webview/browser/scoped_app_gl_state_restore.cc
+++ b/android_webview/browser/scoped_app_gl_state_restore.cc
@@ -22,15 +22,15 @@ namespace {
class AppContextSurface {
public:
AppContextSurface()
- : surface(new gfx::GLSurfaceStub),
+ : surface(new gl::GLSurfaceStub),
context(gl::init::CreateGLContext(nullptr,
surface.get(),
- gfx::PreferDiscreteGpu)) {}
+ gl::PreferDiscreteGpu)) {}
void MakeCurrent() { context->MakeCurrent(surface.get()); }
private:
- scoped_refptr<gfx::GLSurfaceStub> surface;
- scoped_refptr<gfx::GLContext> context;
+ scoped_refptr<gl::GLSurfaceStub> surface;
+ scoped_refptr<gl::GLContext> context;
DISALLOW_COPY_AND_ASSIGN(AppContextSurface);
};
« no previous file with comments | « android_webview/browser/scoped_app_gl_state_restore.h ('k') | android_webview/browser/test/fake_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698