| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 113437)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -3051,7 +3051,7 @@
|
| }
|
|
|
| TabContentsWrapper* Browser::CreateTabContentsForURL(
|
| - const GURL& url, const GURL& referrer, Profile* profile,
|
| + const GURL& url, const content::Referrer& referrer, Profile* profile,
|
| content::PageTransition transition, bool defer_load,
|
| SiteInstance* instance) const {
|
| TabContentsWrapper* contents = TabContentsFactory(profile, instance,
|
| @@ -3060,11 +3060,7 @@
|
| if (!defer_load) {
|
| // Load the initial URL before adding the new tab contents to the tab strip
|
| // so that the tab contents has navigation state.
|
| - contents->controller().LoadURL(
|
| - url,
|
| - content::Referrer(referrer, WebKit::WebReferrerPolicyDefault),
|
| - transition,
|
| - std::string());
|
| + contents->controller().LoadURL(url, referrer, transition, std::string());
|
| }
|
|
|
| return contents;
|
|
|