diff options
Diffstat (limited to 'chrome/browser/plugin_observer.cc')
-rw-r--r-- | chrome/browser/plugin_observer.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/plugin_observer.cc b/chrome/browser/plugin_observer.cc index cc9f3c9..b01c083 100644 --- a/chrome/browser/plugin_observer.cc +++ b/chrome/browser/plugin_observer.cc @@ -351,7 +351,9 @@ void PluginObserver::DidNotFindMissingPlugin(int placeholder_id, void PluginObserver::InstallMissingPlugin(PluginInstaller* installer) { if (installer->url_for_display()) { tab_contents()->OpenURL(OpenURLParams( - installer->plugin_url(), tab_contents()->GetURL(), + installer->plugin_url(), + content::Referrer(tab_contents()->GetURL(), + WebKit::WebReferrerPolicyDefault), NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_TYPED, false)); } else { NOTIMPLEMENTED(); |