| Index: chrome/browser/ui/views/web_dialog_view_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/web_dialog_view_browsertest.cc b/chrome/browser/ui/views/web_dialog_view_browsertest.cc
|
| index f9aa7d84432a93f758018c26dc2adcded22e4e7f..286bcd8ddf50cc7293f443ae622d892cc452d396 100644
|
| --- a/chrome/browser/ui/views/web_dialog_view_browsertest.cc
|
| +++ b/chrome/browser/ui/views/web_dialog_view_browsertest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| +#include "base/location.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -54,7 +55,7 @@ class TestWebDialogView : public views::WebDialogView {
|
| // Schedule message loop quit because we could be called while
|
| // the bounds change call is on the stack and not in the nested message
|
| // loop.
|
| - base::MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->task_runner()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&base::MessageLoop::Quit,
|
| base::Unretained(base::MessageLoop::current())));
|
|
|