Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: chrome/default_plugin/plugin_impl_mac.mm

Issue 8473001: Show missing plug-in infobar only if a plug-in is available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/default_plugin/plugin_impl_gtk.cc ('k') | chrome/default_plugin/plugin_impl_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/default_plugin/plugin_impl_mac.mm
diff --git a/chrome/default_plugin/plugin_impl_mac.mm b/chrome/default_plugin/plugin_impl_mac.mm
index 927c32f940d2271b07be84b8a9b48fa0dec250e2..36a7dfddaee0ee45da4615327f1b8fa379483baa 100644
--- a/chrome/default_plugin/plugin_impl_mac.mm
+++ b/chrome/default_plugin/plugin_impl_mac.mm
@@ -57,8 +57,8 @@ bool PluginInstallerImpl::Initialize(void* module_handle, NPP instance,
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
image_ = rb.GetNativeImageNamed(IDR_PLUGIN_ICON);
- return PluginInstallerBase::Initialize(module_handle, instance, mime_type,
- argc, argn, argv);
+ PluginInstallerBase::SetRoutingIds(argc, argn, argv);
+ return true;
}
bool PluginInstallerImpl::NPP_SetWindow(NPWindow* window_info) {
« no previous file with comments | « chrome/default_plugin/plugin_impl_gtk.cc ('k') | chrome/default_plugin/plugin_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698