Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: chrome/browser/bookmarks/bookmark_html_writer_unittest.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
diff --git a/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc b/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
index 411c29653ffaee822021667f2491401e37a64a05..ede4e70a71d2f71aa93736d174a158fcdb628020 100644
--- a/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
+++ b/chrome/browser/bookmarks/bookmark_html_writer_unittest.cc
@@ -199,7 +199,7 @@ TEST_F(BookmarkHTMLWriterTest, Test) {
FaviconServiceFactory::GetForProfile(
&profile, Profile::EXPLICIT_ACCESS)->SetFavicons(
url1, url1_favicon, history::FAVICON, gfx::Image(bitmap));
- message_loop.RunAllPending();
+ message_loop.RunUntilIdle();
const BookmarkNode* f2 = model->AddFolder(f1, 1, f2_title);
model->AddURLWithCreationTime(f2, 0, url2_title, url2, t2);
model->AddURLWithCreationTime(model->bookmark_bar_node(),
@@ -223,7 +223,7 @@ TEST_F(BookmarkHTMLWriterTest, Test) {
FaviconServiceFactory::GetForProfile(
&profile, Profile::EXPLICIT_ACCESS)->SetFavicons(
url1, url1_favicon, history::FAVICON, gfx::Image());
- message_loop.RunAllPending();
+ message_loop.RunUntilIdle();
// Read the bookmarks back in.
std::vector<ProfileWriter::BookmarkEntry> parsed_bookmarks;

Powered by Google App Engine
This is Rietveld 408576698