Index: ui/aura/window_event_dispatcher_unittest.cc |
diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc |
index b13935272fd4e1a5af37c23f3b60980292fb508e..b1001a8c1e25c1888f5fefaba1c2443b168034cc 100644 |
--- a/ui/aura/window_event_dispatcher_unittest.cc |
+++ b/ui/aura/window_event_dispatcher_unittest.cc |
@@ -2084,7 +2084,7 @@ class WindowEventDispatcherTestWithMessageLoop |
}; |
TEST_P(WindowEventDispatcherTestWithMessageLoop, EventRepostedInNonNestedLoop) { |
- CHECK(!message_loop()->is_running()); |
+ ASSERT_FALSE(base::RunLoop::IsRunningOnCurrentThread()); |
// Perform the test in a callback, so that it runs after the message-loop |
// starts. |
message_loop()->task_runner()->PostTask( |