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

Unified Diff: webkit/fileapi/syncable/local_file_sync_context_unittest.cc

Issue 11595003: webkit: Update the calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: webkit/fileapi/syncable/local_file_sync_context_unittest.cc
diff --git a/webkit/fileapi/syncable/local_file_sync_context_unittest.cc b/webkit/fileapi/syncable/local_file_sync_context_unittest.cc
index a61c141dfa89381416c5926a76889fd96a584a58..4335fca4bd44ac131c440ca75c1dcb111e4970e1 100644
--- a/webkit/fileapi/syncable/local_file_sync_context_unittest.cc
+++ b/webkit/fileapi/syncable/local_file_sync_context_unittest.cc
@@ -167,7 +167,7 @@ class LocalFileSyncContextTest : public testing::Test {
base::PlatformFileError WaitUntilModifyFileIsDone() {
while (!async_modify_finished_)
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
return file_error_;
}

Powered by Google App Engine
This is Rietveld 408576698