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

Unified Diff: chrome/browser/ui/views/dom_view.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/ui/views/dom_view.cc
diff --git a/chrome/browser/ui/views/dom_view.cc b/chrome/browser/ui/views/dom_view.cc
index 920c18089a1f2c5853502e7f08c42a9154e5c808..73482a542a959bfd90e328f2d1a38be59c872c26 100644
--- a/chrome/browser/ui/views/dom_view.cc
+++ b/chrome/browser/ui/views/dom_view.cc
@@ -53,7 +53,8 @@ TabContents* DOMView::CreateTabContents(Profile* profile,
void DOMView::LoadURL(const GURL& url) {
DCHECK(initialized_);
dom_contents_->tab_contents()->controller().LoadURL(
- url, GURL(), content::PAGE_TRANSITION_START_PAGE, std::string());
+ url, content::Referrer(), content::PAGE_TRANSITION_START_PAGE,
+ std::string());
}
bool DOMView::SkipDefaultKeyEventProcessing(const views::KeyEvent& e) {
« no previous file with comments | « chrome/browser/ui/views/constrained_html_delegate_views.cc ('k') | chrome/browser/ui/views/notifications/balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698