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 91bd080f9ca2ad262034721bfc64f18933dc02b2..e7141f78011ef261190b168d6f52d318a9dfb359 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -291,6 +291,11 @@ bool WebGraphicsContext3DCommandBufferImpl::InitializeOnCurrentThread() { |
return true; |
} |
+void WebGraphicsContext3DCommandBufferImpl:: |
+ InvalidateWeakPtrsOnCurrentThread() { |
+ weak_ptr_factory_.InvalidateWeakPtrs(); |
+} |
+ |
void WebGraphicsContext3DCommandBufferImpl::Destroy() { |
share_group_->RemoveContext(this); |