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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 8784006: Replace the GURL referrer field of OpenURLParams with a content::Referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index c088c2364d7f7d4eaeb4e94b74f63fb3a7c8f2ed..985d9265f522bfd3c14c5a5b426d9d2f76635fd7 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -5922,7 +5922,7 @@ void TestingAutomationProvider::NavigateToURL(
&tab_contents->controller(), this, reply_message,
navigation_count, false, true);
browser->OpenURLFromTab(tab_contents, OpenURLParams(
- GURL(url), GURL(), CURRENT_TAB,
+ GURL(url), content::Referrer(), CURRENT_TAB,
content::PAGE_TRANSITION_TYPED, false));
}

Powered by Google App Engine
This is Rietveld 408576698