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

Unified Diff: content/browser/security_exploit_browsertest.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/security_exploit_browsertest.cc
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
index a4a6da90b129aa62c48d8d3a9a7e71fa38ca5bd2..2463c00c86d8fca326bf7726512cd8f1c3e2b3b9 100644
--- a/content/browser/security_exploit_browsertest.cc
+++ b/content/browser/security_exploit_browsertest.cc
@@ -90,7 +90,8 @@ RenderViewHostImpl* PrepareToDuplicateHosts(Shell* shell,
WebContentsImpl* wc = static_cast<WebContentsImpl*>(shell->web_contents());
wc->GetFrameTree()->root()->navigator()->RequestOpenURL(
wc->GetFrameTree()->root()->current_frame_host(), extension_url, false,
- nullptr, nullptr, Referrer(), CURRENT_TAB, false, true);
+ nullptr, nullptr, Referrer(), WindowOpenDisposition::CURRENT_TAB, false,
+ true);
// Since the navigation above requires a cross-process swap, there will be a
// speculative/pending RenderFrameHost. Ensure it exists and is in a different
« no previous file with comments | « content/browser/frame_host/render_frame_proxy_host.cc ('k') | content/browser/service_worker/service_worker_client_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698