Index: ash/test/ash_test_helper.cc |
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc |
index b7391e31a2f0acb51184cd189bff294472f1067c..52cd973c65505fb13465013a696f3b6c55d43168 100644 |
--- a/ash/test/ash_test_helper.cc |
+++ b/ash/test/ash_test_helper.cc |
@@ -109,11 +109,9 @@ void AshTestHelper::TearDown() { |
} |
void AshTestHelper::RunAllPendingInMessageLoop() { |
-#if !defined(OS_MACOSX) |
DCHECK(base::MessageLoopForUI::current() == message_loop_); |
base::RunLoop run_loop(aura::Env::GetInstance()->GetDispatcher()); |
run_loop.RunUntilIdle(); |
-#endif |
} |
aura::RootWindow* AshTestHelper::CurrentContext() { |