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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 10832264: Fix lifecycle-vs-threads of GpuVDAContext3D. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index 89a0a52a81bb09a670378802c5da76bc19a0c70d..c0dd539d0d06071252c2fb2bf3a26457d1b325d4 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -1425,6 +1425,7 @@ void WebGraphicsContext3DCommandBufferImpl::setErrorMessageCallback(
void WebGraphicsContext3DCommandBufferImpl::setContextLostCallback(
WebGraphicsContext3D::WebGraphicsContextLostCallback* cb) {
+ DCHECK(!context_lost_callback_ || !cb);
piman 2012/08/13 17:23:35 why?
Ami GONE FROM CHROMIUM 2012/08/13 17:38:16 Vestigial; was there to make sure my use of sCLC w
context_lost_callback_ = cb;
}
« no previous file with comments | « no previous file | content/renderer/media/renderer_gpu_video_decoder_factories.h » ('j') | content/renderer/render_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698