summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-05 10:35:26 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-05 10:35:26 +0000
commit95dacd08712565b8f2410e7d099bcbe610946ec3 (patch)
tree5d5fbf11568d2325f76b0d380ca763eaed7616e0 /content/shell/shell.cc
parentb87a2efe6d4567afba7dd3945b390322b5870999 (diff)
downloadchromium_src-95dacd08712565b8f2410e7d099bcbe610946ec3.zip
chromium_src-95dacd08712565b8f2410e7d099bcbe610946ec3.tar.gz
chromium_src-95dacd08712565b8f2410e7d099bcbe610946ec3.tar.bz2
Change NavigationController::LoadURL to take a Referrer class instead of a GURL as referrer
BUG=105028 TEST=no functional change Review URL: http://codereview.chromium.org/8785004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r--content/shell/shell.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index fef561e..4627e07 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();