diff options
Diffstat (limited to 'ui/base/test/ui_controls_mac.mm')
-rw-r--r-- | ui/base/test/ui_controls_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/test/ui_controls_mac.mm b/ui/base/test/ui_controls_mac.mm index c5e8f75..8634540 100644 --- a/ui/base/test/ui_controls_mac.mm +++ b/ui/base/test/ui_controls_mac.mm @@ -241,7 +241,7 @@ bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, bool command, const base::Closure& task) { CHECK(g_ui_controls_enabled); - DCHECK_EQ(base::MessageLoop::TYPE_UI, base::MessageLoop::current()->type()); + DCHECK(base::MessageLoopForUI::IsCurrent()); std::vector<NSEvent*> events; SynthesizeKeyEventsSequence( |