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

Unified Diff: content/renderer/gpu/renderer_gl_context.h

Issue 7634019: Allow cmdbuffer creation from compositor thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MessageLoop::current() -> MessageLoopProxy::current() Created 9 years, 4 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: content/renderer/gpu/renderer_gl_context.h
diff --git a/content/renderer/gpu/renderer_gl_context.h b/content/renderer/gpu/renderer_gl_context.h
index 8c84780fd7ee949a8b9445be36ff1be12aef8da3..80834e5fceb40a8fbd10db59872f7a43b6291030 100644
--- a/content/renderer/gpu/renderer_gl_context.h
+++ b/content/renderer/gpu/renderer_gl_context.h
@@ -208,7 +208,7 @@ class RendererGLContext : public base::SupportsWeakPtr<RendererGLContext> {
scoped_ptr<Callback0::Type> swap_buffers_callback_;
scoped_ptr<Callback1<ContextLostReason>::Type> context_lost_callback_;
uint32 parent_texture_id_;
- CommandBufferProxy* command_buffer_;
+ scoped_refptr<CommandBufferProxy> command_buffer_;
gpu::gles2::GLES2CmdHelper* gles2_helper_;
int32 transfer_buffer_id_;
gpu::gles2::GLES2Implementation* gles2_implementation_;
« content/renderer/gpu/gpu_channel_host.h ('K') | « content/renderer/gpu/gpu_surface_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698