Index: chrome/browser/plugins/plugin_observer.cc |
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc |
index e3808c6c44b44670f91cc391847278ef31e91925..1b56a3f101d7789d9f9ca546b0593c5ce02f2ea0 100644 |
--- a/chrome/browser/plugins/plugin_observer.cc |
+++ b/chrome/browser/plugins/plugin_observer.cc |
@@ -336,17 +336,6 @@ bool PluginObserver::OnMessageReceived( |
IPC_BEGIN_MESSAGE_MAP(PluginObserver, message) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_BlockedOutdatedPlugin, |
OnBlockedOutdatedPlugin) |
- IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported, |
- OnNPAPINotSupported) |
- |
- IPC_MESSAGE_UNHANDLED(return false) |
- IPC_END_MESSAGE_MAP() |
- |
- return true; |
-} |
- |
-bool PluginObserver::OnMessageReceived(const IPC::Message& message) { |
- IPC_BEGIN_MESSAGE_MAP(PluginObserver, message) |
#if defined(ENABLE_PLUGIN_INSTALLATION) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_RemovePluginPlaceholderHost, |
OnRemovePluginPlaceholderHost) |
@@ -355,6 +344,8 @@ bool PluginObserver::OnMessageReceived(const IPC::Message& message) { |
OnOpenAboutPlugins) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CouldNotLoadPlugin, |
OnCouldNotLoadPlugin) |
+ IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported, |
+ OnNPAPINotSupported) |
IPC_MESSAGE_UNHANDLED(return false) |
IPC_END_MESSAGE_MAP() |