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

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

Issue 8772041: Remove deprecated TabContentsDelegate::OpenURLFromTab variant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 3f9c93a4573a6bcb4761dd7a4c9dc82e0d486bec..985d9265f522bfd3c14c5a5b426d9d2f76635fd7 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -5921,9 +5921,9 @@ void TestingAutomationProvider::NavigateToURL(
new NavigationNotificationObserver(
&tab_contents->controller(), this, reply_message,
navigation_count, false, true);
- browser->OpenURLFromTab(
- tab_contents, GURL(url), GURL(), CURRENT_TAB,
- content::PAGE_TRANSITION_TYPED);
+ browser->OpenURLFromTab(tab_contents, OpenURLParams(
+ GURL(url), content::Referrer(), CURRENT_TAB,
+ content::PAGE_TRANSITION_TYPED, false));
}
void TestingAutomationProvider::ExecuteJavascriptJSON(

Powered by Google App Engine
This is Rietveld 408576698