summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webplugin_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc
index 7d4bbdc..6c67b92 100644
--- a/webkit/glue/webplugin_impl.cc
+++ b/webkit/glue/webplugin_impl.cc
@@ -835,6 +835,8 @@ void WebPluginImpl::HandleURLRequestInternal(
int resource_id = GetNextResourceId();
WebPluginResourceClient* resource_client = delegate_->CreateResourceClient(
resource_id, complete_url, notify, notify_data, NULL);
+ if (!resource_client)
+ return;
// If the RouteToFrame call returned a failure then inform the result
// back to the plugin asynchronously.