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 b8b01ceb995bd24bb298aa83f1c15873e22441d3..b439c2fe3123ceda747474f9d34125364c7a8fae 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -360,9 +360,13 @@ bool ChromeContentRendererClient::OverrideCreatePlugin( |
} |
ChromeViewHostMsg_GetPluginInfo_Output output; |
+#if defined(ENABLE_PLUGINS) |
render_view->Send(new ChromeViewHostMsg_GetPluginInfo( |
render_view->GetRoutingID(), GURL(params.url), |
frame->top()->document().url(), orig_mime_type, &output)); |
+#else |
+ output.status.value = ChromeViewHostMsg_GetPluginInfo_Status::kNotFound; |
Bernhard Bauer
2013/01/03 06:51:37
Not: I think it would probably not be unreasonable
nilesh
2013/01/03 19:37:59
It looks like there is code which relies on the de
|
+#endif |
*plugin = CreatePlugin(render_view, frame, params, output); |
return true; |
} |