Index: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
diff --git a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
index 966a791862c327e371e8971162ffeef169bf65fd..865706ad0dcdd0c45910d6cc4073ce6c2bf13535 100644 |
--- a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
+++ b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc |
@@ -122,7 +122,7 @@ bool X11WholeScreenMoveLoop::RunMoveLoop(aura::Window* source, |
base::MessageLoopForUI* loop = base::MessageLoopForUI::current(); |
base::MessageLoop::ScopedNestableTaskAllower allow_nested(loop); |
- base::RunLoop run_loop(aura::Env::GetInstance()->GetDispatcher()); |
+ base::RunLoop run_loop; |
quit_closure_ = run_loop.QuitClosure(); |
run_loop.Run(); |
return true; |