Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2285)

Unified Diff: ash/test/test_suite.cc

Issue 2325723003: Cleanup Ash Metro mode. (Closed)
Patch Set: cleanup Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698