Fix Debug building on Windows
[platform/framework/web/crosswalk-tizen.git] / atom / browser / ui / message_box_win.cc
index 074e13b..b6777fb 100644 (file)
@@ -233,7 +233,7 @@ void ShowMessageBox(NativeWindow* parent,
   }
 
   base::Thread* unretained = thread.release();
-  unretained->message_loop()->PostTask(
+  unretained->task_runner()->PostTask(
       FROM_HERE,
       base::Bind(&RunMessageBoxInNewThread, base::Unretained(unretained),
                  parent, type, buttons, default_id, cancel_id, options, title,