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

Unified Diff: content/shell/shell.cc

Issue 8785004: Change NavigationController::LoadURL to take a Referrer class instead of a GURL as referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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 | « content/browser/tab_contents/test_tab_contents.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell.cc
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index fef561e422747380a931b14df870767b6a3a6baf..4627e07ef436ede80dba99aa4df9e108539e6c3f 100644
--- a/content/shell/shell.cc
+++ b/content/shell/shell.cc
@@ -76,7 +76,7 @@ Shell* Shell::CreateNewWindow(content::BrowserContext* browser_context,
void Shell::LoadURL(const GURL& url) {
tab_contents_->controller().LoadURL(
url,
- GURL(),
+ content::Referrer(),
content::PAGE_TRANSITION_TYPED,
std::string());
tab_contents_->Focus();
« no previous file with comments | « content/browser/tab_contents/test_tab_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698