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