| Index: ash/shelf/shelf_layout_manager_unittest.cc
|
| diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
|
| index 9f37d72b9ce69f9fe7651decffe945f3da76a24d..a0ae488480e9628dc5f69b559b10da85394177a3 100644
|
| --- a/ash/shelf/shelf_layout_manager_unittest.cc
|
| +++ b/ash/shelf/shelf_layout_manager_unittest.cc
|
| @@ -32,6 +32,7 @@
|
| #include "ash/wm/window_state_aura.h"
|
| #include "ash/wm/window_util.h"
|
| #include "base/command_line.h"
|
| +#include "base/run_loop.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/client/window_tree_client.h"
|
| #include "ui/aura/window.h"
|
| @@ -89,7 +90,7 @@ class ShelfAnimationWaiter : views::WidgetObserver {
|
| if (IsDoneAnimating())
|
| done_waiting_ = true;
|
| else
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| // Returns true if the animation has completed and it was valid.
|
|
|