summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/renderer/browser_plugin/browser_plugin_compositing_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc b/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
index e056618..7c14969 100644
--- a/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
+++ b/content/renderer/browser_plugin/browser_plugin_compositing_helper.cc
@@ -68,7 +68,8 @@ void BrowserPluginCompositingHelper::FreeMailboxMemory(
WebKit::WebGraphicsContext3D *context =
WebKit::WebSharedGraphicsContext3D::mainThreadContext();
- DCHECK(context);
+ if (!context)
+ return;
// When a buffer is released from the compositor, we also get a
// sync point that specifies when in the command buffer
// it's safe to use it again.