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

Unified Diff: gpu/command_buffer/client/gl_in_process_context.cc

Issue 271763002: Clean up SyncCompositorFactory context creation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: gpu/command_buffer/client/gl_in_process_context.cc
diff --git a/gpu/command_buffer/client/gl_in_process_context.cc b/gpu/command_buffer/client/gl_in_process_context.cc
index 2b5e559ba64fd5c1386c15c183131f03ef7df3ed..3a91eae2848850cf3814308c5599b7157e38fd6a 100644
--- a/gpu/command_buffer/client/gl_in_process_context.cc
+++ b/gpu/command_buffer/client/gl_in_process_context.cc
@@ -52,7 +52,7 @@ class GLInProcessContextImpl
virtual ~GLInProcessContextImpl();
bool Initialize(
- scoped_refptr<gfx::GLSurface> surface,
+ gfx::GLSurface* surface,
bool is_offscreen,
bool use_global_share_group,
GLInProcessContext* share_context,
@@ -120,7 +120,7 @@ void GLInProcessContextImpl::OnContextLost() {
}
bool GLInProcessContextImpl::Initialize(
- scoped_refptr<gfx::GLSurface> surface,
+ gfx::GLSurface* surface,
bool is_offscreen,
bool use_global_share_group,
GLInProcessContext* share_context,
@@ -339,7 +339,7 @@ GLInProcessContext* GLInProcessContext::CreateContext(
// static
GLInProcessContext* GLInProcessContext::CreateWithSurface(
- scoped_refptr<gfx::GLSurface> surface,
+ gfx::GLSurface* surface,
scoped_refptr<gpu::InProcessCommandBuffer::Service> service,
GLInProcessContext* share_context,
const GLInProcessContextAttribs& attribs,

Powered by Google App Engine
This is Rietveld 408576698