Index: content/public/test/browser_test_base.cc |
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc |
index 2e6500a8830a2763cee56e3bf4b2ee8f908c1776..ee222a79d0d88e379d692c6311cb070ef9d4f321 100644 |
--- a/content/public/test/browser_test_base.cc |
+++ b/content/public/test/browser_test_base.cc |
@@ -200,6 +200,11 @@ void BrowserTestBase::SetUp() { |
if (use_software_compositing_) |
command_line->AppendSwitch(switches::kDisableGpu); |
+ // The layout of windows on screen is unpredictable during, so disable |
Noel Gordon
2016/03/04 01:57:32
"during" -> "during tests" ?
ccameron
2016/03/06 23:09:08
Thanks -- fixed.
|
+ // occlusion when running browser tests. |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
+ switches::kDisableBackgroundingOccludedWindows); |
+ |
#if defined(USE_AURA) |
// Most tests do not need pixel output, so we don't produce any. The command |
// line can override this behaviour to allow for visual debugging. |