Chromium Code Reviews

Unified Diff: chrome/browser/ui/webui/settings_utils_linux.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/webui/settings_utils_linux.cc
diff --git a/chrome/browser/ui/webui/settings_utils_linux.cc b/chrome/browser/ui/webui/settings_utils_linux.cc
index be8768d3416b3c5c8d96b59701384740ad5208e3..ed075c20cfd95d2ecbe334b26847009c00c4844d 100644
--- a/chrome/browser/ui/webui/settings_utils_linux.cc
+++ b/chrome/browser/ui/webui/settings_utils_linux.cc
@@ -48,9 +48,9 @@ void ShowLinuxProxyConfigUrl(int render_process_id, int render_view_id) {
const char* name = base::nix::GetDesktopEnvironmentName(env.get());
if (name)
LOG(ERROR) << "Could not find " << name << " network settings in $PATH";
- OpenURLParams params(
- GURL(kLinuxProxyConfigUrl), Referrer(), NEW_FOREGROUND_TAB,
- ui::PAGE_TRANSITION_LINK, false);
+ OpenURLParams params(GURL(kLinuxProxyConfigUrl), Referrer(),
+ WindowOpenDisposition::NEW_FOREGROUND_TAB,
+ ui::PAGE_TRANSITION_LINK, false);
content::WebContents* web_contents =
tab_util::GetWebContentsByID(render_process_id, render_view_id);

Powered by Google App Engine