| Index: chrome/test/ui/ui_test.cc
|
| diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
|
| index 7f1fe05a999602c96d37622580b55f061bae90aa..e173e971b1dd39b4dde6211030f92cf23521e9af 100644
|
| --- a/chrome/test/ui/ui_test.cc
|
| +++ b/chrome/test/ui/ui_test.cc
|
| @@ -57,6 +57,10 @@
|
| #endif
|
|
|
|
|
| +#if defined(USE_AURA)
|
| +#include "ui/gfx/compositor/compositor_switches.h"
|
| +#endif
|
| +
|
| using base::Time;
|
| using base::TimeDelta;
|
| using base::TimeTicks;
|
| @@ -199,6 +203,12 @@ void UITestBase::SetLaunchSwitches() {
|
| launch_arguments_.AppendSwitchASCII(switches::kHomePage, homepage_);
|
| if (!test_name_.empty())
|
| launch_arguments_.AppendSwitchASCII(switches::kTestName, test_name_);
|
| +#if defined(USE_AURA)
|
| + if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableTestCompositor)) {
|
| + launch_arguments_.AppendSwitch(switches::kTestCompositor);
|
| + }
|
| +#endif
|
| }
|
|
|
| void UITestBase::SetUpProfile() {
|
|
|