Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / views / widget / desktop_aura / desktop_dispatcher_client.cc
index 6c01751..9962eaa 100644 (file)
@@ -25,7 +25,12 @@ void DesktopDispatcherClient::RunWithDispatcher(
   base::MessageLoopForUI::ScopedNestableTaskAllower allow_nested(loop);
 
   base::Closure old_quit_closure = quit_closure_;
+#if defined(OS_WIN)
   base::RunLoop run_loop(nested_dispatcher);
+#else
+  base::RunLoop run_loop;
+#endif
+
   quit_closure_ = run_loop.QuitClosure();
   base::WeakPtr<DesktopDispatcherClient> alive(weak_ptr_factory_.GetWeakPtr());
   run_loop.Run();