Index: content/browser/tab_contents/navigation_controller.cc |
diff --git a/content/browser/tab_contents/navigation_controller.cc b/content/browser/tab_contents/navigation_controller.cc |
index 383a1ecd9e406955e683089f14f848f6de7b88e5..66dacc67c21617018997b419bc7e834b48affe4f 100644 |
--- a/content/browser/tab_contents/navigation_controller.cc |
+++ b/content/browser/tab_contents/navigation_controller.cc |
@@ -223,7 +223,8 @@ bool NavigationController::IsInitialNavigation() { |
// static |
NavigationEntry* NavigationController::CreateNavigationEntry( |
- const GURL& url, const GURL& referrer, content::PageTransition transition, |
+ const GURL& url, const content::Referrer& referrer, |
+ content::PageTransition transition, |
bool is_renderer_initiated, const std::string& extra_headers, |
content::BrowserContext* browser_context) { |
// Allow the browser URL handler to rewrite the URL. This will, for example, |
@@ -472,7 +473,8 @@ void NavigationController::RemoveEntryAtIndex(int index, |
} else { |
// If there is nothing to show, show a default page. |
LoadURL(default_url.is_empty() ? GURL("about:blank") : default_url, |
- GURL(), content::PAGE_TRANSITION_START_PAGE, std::string()); |
+ content::Referrer(), content::PAGE_TRANSITION_START_PAGE, |
+ std::string()); |
} |
} |
} |
@@ -499,7 +501,7 @@ void NavigationController::AddTransientEntry(NavigationEntry* entry) { |
void NavigationController::LoadURL( |
const GURL& url, |
- const GURL& referrer, |
+ const content::Referrer& referrer, |
content::PageTransition transition, |
const std::string& extra_headers) { |
// The user initiated a load, we don't need to reload anymore. |
@@ -515,7 +517,7 @@ void NavigationController::LoadURL( |
void NavigationController::LoadURLFromRenderer( |
const GURL& url, |
- const GURL& referrer, |
+ const content::Referrer& referrer, |
content::PageTransition transition, |
const std::string& extra_headers) { |
// The user initiated a load, we don't need to reload anymore. |