Index: chrome/browser/user_style_sheet_watcher_unittest.cc |
diff --git a/chrome/browser/user_style_sheet_watcher_unittest.cc b/chrome/browser/user_style_sheet_watcher_unittest.cc |
index 3b342f127dc3685752aba598f92881601cc66b05..f1e0740234dcc52f57b43fc29e8ff6e68137e700 100644 |
--- a/chrome/browser/user_style_sheet_watcher_unittest.cc |
+++ b/chrome/browser/user_style_sheet_watcher_unittest.cc |
@@ -44,7 +44,7 @@ TEST(UserStyleSheetWatcherTest, StyleLoad) { |
style_sheet_watcher->Init(); |
io_thread.Stop(); |
- loop.RunAllPending(); |
+ loop.RunUntilIdle(); |
GURL result_url = style_sheet_watcher->user_style_sheet(); |
std::string result = result_url.spec(); |