Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 4666171811be133a169cf31da870b7b16c5347fd..de3951f5c7b3403ad96cba3149e227956c73aab5 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -2505,13 +2505,13 @@ void RenderViewImpl::didActivateCompositor(int input_handler_identifier) { |
WebPlugin* RenderViewImpl::createPlugin(WebFrame* frame, |
const WebPluginParams& params) { |
-#if defined(ENABLE_PLUGINS) |
WebPlugin* plugin = NULL; |
if (GetContentClient()->renderer()->OverrideCreatePlugin( |
this, frame, params, &plugin)) { |
return plugin; |
} |
+#if defined(ENABLE_PLUGINS) |
if (UTF16ToASCII(params.mimeType) == kBrowserPluginMimeType) { |
return browser_plugin_manager()->CreateBrowserPlugin(this, frame, params); |
} |