| Index: ui/base/cocoa/menu_controller_unittest.mm
|
| diff --git a/ui/base/cocoa/menu_controller_unittest.mm b/ui/base/cocoa/menu_controller_unittest.mm
|
| index e49904ab02dc3a76b63752256af1575d3b466066..24a86f021b341f6816283678508297e890195687 100644
|
| --- a/ui/base/cocoa/menu_controller_unittest.mm
|
| +++ b/ui/base/cocoa/menu_controller_unittest.mm
|
| @@ -5,6 +5,7 @@
|
| #import <Cocoa/Cocoa.h>
|
|
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -386,7 +387,7 @@ TEST_F(MenuControllerTest, OpenClose) {
|
| EXPECT_FALSE(delegate.did_close_);
|
|
|
| // Pump the task that notifies the delegate.
|
| - message_loop.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
|
|
| // Expect that the delegate got notified properly.
|
| EXPECT_TRUE(delegate.did_close_);
|
|
|