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

Unified Diff: chrome/browser/plugin_observer.cc

Issue 8774041: Upgrade all call sites of PageNavigator::OpenURL that pass a referrer to use OpenURLParams (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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 | « no previous file | chrome/browser/tab_contents/insecure_content_infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_observer.cc
diff --git a/chrome/browser/plugin_observer.cc b/chrome/browser/plugin_observer.cc
index 62562a4bfb1c44ae77bcd787b4b19eaad6fc7c93..cc9f3c9760e642c19cca5498a092fdfb29888579 100644
--- a/chrome/browser/plugin_observer.cc
+++ b/chrome/browser/plugin_observer.cc
@@ -350,8 +350,9 @@ void PluginObserver::DidNotFindMissingPlugin(int placeholder_id,
void PluginObserver::InstallMissingPlugin(PluginInstaller* installer) {
if (installer->url_for_display()) {
- tab_contents()->OpenURL(installer->plugin_url(), tab_contents()->GetURL(),
- NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_TYPED);
+ tab_contents()->OpenURL(OpenURLParams(
+ installer->plugin_url(), tab_contents()->GetURL(),
+ NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_TYPED, false));
} else {
NOTIMPLEMENTED();
}
« no previous file with comments | « no previous file | chrome/browser/tab_contents/insecure_content_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698