| 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) {
|
|
|