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

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

Issue 7713015: Split WebGraphicsContext3DCommandBufferImpl::initialize() into two stages. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Limited scope of lock, added comment 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
===================================================================
--- content/renderer/gpu/renderer_gl_context.h (revision 98270)
+++ content/renderer/gpu/renderer_gl_context.h (working copy)
@@ -201,6 +201,10 @@
gpu::gles2::GLES2Implementation* gles2_implementation_;
Error last_error_;
int frame_number_;
+#ifndef NDEBUG
+ // Used to assert that this object is used on a single thread.
+ MessageLoop* message_loop_;
+#endif
DISALLOW_COPY_AND_ASSIGN(RendererGLContext);
};

Powered by Google App Engine
This is Rietveld 408576698