| Index: chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc b/chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc
|
| index 9478a756e00948ef0e1f4e602eb3c650fb4f34d8..a7d7deb2d856dc29a9ef9d42d82c2bfaa034e37e 100644
|
| --- a/chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc
|
| +++ b/chrome/browser/ui/views/toolbar/toolbar_view_interactive_uitest.cc
|
| @@ -2,7 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/location.h"
|
| #include "base/run_loop.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "chrome/browser/extensions/extension_browsertest.h"
|
| #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h"
|
| #include "chrome/browser/ui/views/frame/browser_view.h"
|
| @@ -98,11 +100,9 @@ void ToolbarViewInteractiveUITest::DoDragAndDrop(const gfx::Point& start,
|
| dnd_thread_->Start();
|
| }
|
|
|
| - dnd_thread_->message_loop()->PostDelayedTask(
|
| - FROM_HERE,
|
| - base::Bind(base::IgnoreResult(&ui_controls::SendMouseMove),
|
| - end.x(),
|
| - end.y()),
|
| + dnd_thread_->task_runner()->PostDelayedTask(
|
| + FROM_HERE, base::Bind(base::IgnoreResult(&ui_controls::SendMouseMove),
|
| + end.x(), end.y()),
|
| base::TimeDelta::FromMilliseconds(200));
|
| runner->Run();
|
| }
|
|
|