Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 9f9777ebc222c3b21eae6b583307f0e965a6a951..f05ae4224d8f5d346e97a17aada70bbe7b72d212 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -455,11 +455,13 @@ bool ChromeContentRendererClient::OverrideCreatePlugin( |
render_frame->Send(new ChromeViewHostMsg_GetPluginInfo( |
render_frame->GetRoutingID(), GURL(params.url), |
frame->top()->document().url(), orig_mime_type, &output)); |
+ *plugin = CreatePlugin(render_frame, frame, params, output); |
+ return true; |
#else |
output.status.value = ChromeViewHostMsg_GetPluginInfo_Status::kNotFound; |
+ *plugin = NULL; |
+ return false; |
#endif |
- *plugin = CreatePlugin(render_frame, frame, params, output); |
- return true; |
} |
WebPlugin* ChromeContentRendererClient::CreatePluginReplacement( |