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 3d4e153ca6ed61cb3eca7b448e3b23c377f4c875..135849f1ca6e97557ffac69a31c8ea7ed9b27c34 100644 |
--- a/ui/aura/window_event_dispatcher_unittest.cc |
+++ b/ui/aura/window_event_dispatcher_unittest.cc |
@@ -2116,7 +2116,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( |