| Index: chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc
|
| diff --git a/chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc b/chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc
|
| index d9f4f96c279be5a1c82b23494bae1cbd9867a744..33ebfa9651376fe084ad9c0361b7ba09ddb588c4 100644
|
| --- a/chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc
|
| +++ b/chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/callback.h"
|
| +#include "base/location.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -75,9 +76,8 @@ class ConstrainedWebDialogBrowserTest : public InProcessBrowserTest {
|
| return false;
|
| }
|
|
|
| - base::MessageLoop::current()->PostDelayedTask(
|
| - FROM_HERE,
|
| - base::MessageLoop::QuitClosure(),
|
| + base::MessageLoop::current()->task_runner()->PostDelayedTask(
|
| + FROM_HERE, base::MessageLoop::QuitClosure(),
|
| base::TimeDelta::FromMilliseconds(20));
|
| content::RunMessageLoop();
|
| }
|
|
|