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

Unified Diff: content/browser/web_contents/web_contents_view_mac.mm

Issue 1844053002: Add detached mode plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And target Created 4 years, 9 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/web_contents/web_contents_view_mac.mm
diff --git a/content/browser/web_contents/web_contents_view_mac.mm b/content/browser/web_contents/web_contents_view_mac.mm
index da315745e62461a525c65a876da17f09081a1069..a01065cd59e65224f588b8fdb79bafdec6a43db2 100644
--- a/content/browser/web_contents/web_contents_view_mac.mm
+++ b/content/browser/web_contents/web_contents_view_mac.mm
@@ -642,8 +642,10 @@ void WebContentsViewMac::CloseTab() {
// Occlusion is highly undesirable for browser tests, since it will
// flakily change test behavior.
- static bool isDisabled = base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableBackgroundingOccludedWindowsForTesting);
+ static bool isDisabled =
+ 1 ||
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableBackgroundingOccludedWindowsForTesting);
if (!isDisabled) {
if (oldWindow) {

Powered by Google App Engine
This is Rietveld 408576698