Index: components/translate/content/browser/content_translate_driver.cc |
diff --git a/components/translate/content/browser/content_translate_driver.cc b/components/translate/content/browser/content_translate_driver.cc |
index e9a6fe9fe1487de4acd4566b217a1b1a6d7c7dc7..9860c307388dcf0d6b191cccef217af143e12bed 100644 |
--- a/components/translate/content/browser/content_translate_driver.cc |
+++ b/components/translate/content/browser/content_translate_driver.cc |
@@ -146,11 +146,9 @@ bool ContentTranslateDriver::HasCurrentPage() { |
} |
void ContentTranslateDriver::OpenUrlInNewTab(const GURL& url) { |
- content::OpenURLParams params(url, |
- content::Referrer(), |
- NEW_FOREGROUND_TAB, |
- ui::PAGE_TRANSITION_LINK, |
- false); |
+ content::OpenURLParams params(url, content::Referrer(), |
+ WindowOpenDisposition::NEW_FOREGROUND_TAB, |
+ ui::PAGE_TRANSITION_LINK, false); |
navigation_controller_->GetWebContents()->OpenURL(params); |
} |