Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index 3928cf0423d8b94a2b4010851588a14b7218a4ba..9ea53b9c03d652656a7cb8da2ddbdffd37edb3e3 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -1286,6 +1286,11 @@ const char kEnablePrintPreview[] = "enable-print-preview"; |
// Enables the benchmarking extensions. |
const char kEnableBenchmarking[] = "enable-benchmarking"; |
+#if defined(USE_AURA) |
+// Forces usage of the test compositor. Needed to run ui tests on bots. |
+extern const char kTestCompositor[] = "test-compositor"; |
+#endif |
+ |
bool IsPrintPreviewEnabled() { |
if (CommandLine::ForCurrentProcess()->HasSwitch(kDisablePrintPreview)) |
return false; |