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

Unified Diff: chrome/browser/sidebar/sidebar_container.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
Index: chrome/browser/sidebar/sidebar_container.cc
diff --git a/chrome/browser/sidebar/sidebar_container.cc b/chrome/browser/sidebar/sidebar_container.cc
index 4467006cf6549359f69fc82b881c6864321aa131..f9db3f3972e283c3bc96b8ef2a47a406f782d974 100644
--- a/chrome/browser/sidebar/sidebar_container.cc
+++ b/chrome/browser/sidebar/sidebar_container.cc
@@ -90,7 +90,8 @@ void SidebarContainer::Navigate(const GURL& url) {
// TODO(alekseys): add a progress UI.
navigate_to_default_page_on_expand_ = false;
sidebar_contents_->controller().LoadURL(
- url, GURL(), content::PAGE_TRANSITION_START_PAGE, std::string());
+ url, content::Referrer(), content::PAGE_TRANSITION_START_PAGE,
+ std::string());
}
void SidebarContainer::SetBadgeText(const string16& badge_text) {

Powered by Google App Engine
This is Rietveld 408576698