diff options
Diffstat (limited to 'chrome/browser/ui/cocoa/menu_controller_unittest.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/menu_controller_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/menu_controller_unittest.mm b/chrome/browser/ui/cocoa/menu_controller_unittest.mm index 446a6569..035f92b 100644 --- a/chrome/browser/ui/cocoa/menu_controller_unittest.mm +++ b/chrome/browser/ui/cocoa/menu_controller_unittest.mm @@ -327,7 +327,7 @@ TEST_F(MenuControllerTest, OpenClose) { EXPECT_FALSE(delegate.did_close_); // Pump the task that notifies the delegate. - message_loop.RunAllPending(); + message_loop.RunUntilIdle(); // Expect that the delegate got notified properly. EXPECT_TRUE(delegate.did_close_); |