| 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);
|
| };
|
|
|