| Index: content/browser/renderer_host/smooth_scroll_gesture_controller_unittest.cc
|
| diff --git a/content/browser/renderer_host/smooth_scroll_gesture_controller_unittest.cc b/content/browser/renderer_host/smooth_scroll_gesture_controller_unittest.cc
|
| index 96b70a2db21c08bc4f12288cc6defe837a5a24fc..3808983581d1ead59d80fa90f3c5137049abe40a 100644
|
| --- a/content/browser/renderer_host/smooth_scroll_gesture_controller_unittest.cc
|
| +++ b/content/browser/renderer_host/smooth_scroll_gesture_controller_unittest.cc
|
| @@ -123,20 +123,20 @@ class SmoothScrollGestureControllerTest : public testing::Test {
|
| #endif
|
|
|
| // Process all pending tasks to avoid leaks.
|
| - MessageLoop::current()->RunUntilIdle();
|
| + base::MessageLoop::current()->RunUntilIdle();
|
| }
|
|
|
| void PostQuitMessageAndRun() {
|
| // Allow the message loop to process pending synthetic scrolls, then quit.
|
| - MessageLoop::current()->PostDelayedTask(
|
| - FROM_HERE, MessageLoop::QuitClosure(),
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| + FROM_HERE, base::MessageLoop::QuitClosure(),
|
| TimeDelta::FromMilliseconds(
|
| controller_.GetSyntheticScrollMessageInterval().InMilliseconds() *
|
| 3));
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| }
|
|
|
| - MessageLoopForUI message_loop_;
|
| + base::MessageLoopForUI message_loop_;
|
|
|
| scoped_ptr<TestBrowserContext> browser_context_;
|
| MockRenderProcessHost* process_; // Deleted automatically by the widget.
|
|
|