summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/reload_button_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/reload_button_unittest.cc')
-rw-r--r--chrome/browser/ui/views/reload_button_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/reload_button_unittest.cc b/chrome/browser/ui/views/reload_button_unittest.cc
index 34234b3..3db8488 100644
--- a/chrome/browser/ui/views/reload_button_unittest.cc
+++ b/chrome/browser/ui/views/reload_button_unittest.cc
@@ -95,7 +95,7 @@ TEST_F(ReloadButtonTest, DoubleClickTimer) {
false);
// Now fire the timer. This should complete the mode change.
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
CheckState(true, ReloadButton::MODE_STOP, ReloadButton::MODE_STOP, false,
false);
}
@@ -144,7 +144,7 @@ TEST_F(ReloadButtonTest, ResetOnTimer) {
reload_.ChangeMode(ReloadButton::MODE_RELOAD, false);
// Now fire the stop-to-reload timer. This should reset the button.
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
CheckState(true, ReloadButton::MODE_RELOAD, ReloadButton::MODE_RELOAD, false,
false);
}