Index: ash/test/test_suite.cc |
diff --git a/ash/test/test_suite.cc b/ash/test/test_suite.cc |
index 33dedc1bace134da4757824a4e117b7b5b2bb2be..a7437149adb089d01e0651f7a563515deb39322a 100644 |
--- a/ash/test/test_suite.cc |
+++ b/ash/test/test_suite.cc |
@@ -39,9 +39,7 @@ void AuraShellTestSuite::Initialize() { |
base::win::Version version = base::win::GetVersion(); |
// Although Ash officially is only supported for users on Win7+, we still run |
sky
2016/09/08 23:45:36
Nuke this comment and always create com_initialize
rjkroege
2016/09/09 00:04:21
Done.
|
// ash_unittests on Vista builders, so we still need to initialize COM. |
- if (version >= base::win::VERSION_VISTA && |
- !base::CommandLine::ForCurrentProcess()->HasSwitch( |
- ash::switches::kForceAshToDesktop)) { |
+ if (version >= base::win::VERSION_VISTA) { |
com_initializer_.reset(new base::win::ScopedCOMInitializer()); |
ui::win::CreateATLModuleIfNeeded(); |
} |