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

Unified Diff: chrome/browser/extensions/extension_web_ui.cc

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (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
Index: chrome/browser/extensions/extension_web_ui.cc
diff --git a/chrome/browser/extensions/extension_web_ui.cc b/chrome/browser/extensions/extension_web_ui.cc
index 20885410b0658461a79ba316b3d349d37982a59a..d576deab809892f856d07008d6c6ed327ca027e2 100644
--- a/chrome/browser/extensions/extension_web_ui.cc
+++ b/chrome/browser/extensions/extension_web_ui.cc
@@ -351,8 +351,9 @@ void ExtensionWebUI::UnregisterAndReplaceOverride(const std::string& page,
// Don't use Reload() since |url| isn't the same as the internal URL
// that NavigationController has.
- tab->controller().LoadURL(url, url, content::PAGE_TRANSITION_RELOAD,
- std::string());
+ tab->controller().LoadURL(
+ url, content::Referrer(url, WebKit::WebReferrerPolicyDefault),
+ content::PAGE_TRANSITION_RELOAD, std::string());
}
}
}
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/extensions/extension_webnavigation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698