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

Unified Diff: webkit/fileapi/file_system_dir_url_request_job_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/file_system_dir_url_request_job_unittest.cc
diff --git a/webkit/fileapi/file_system_dir_url_request_job_unittest.cc b/webkit/fileapi/file_system_dir_url_request_job_unittest.cc
index 3d242055b02955fdb5f84e91535471def98b719a..029b00e4e188b3b717a561dd67de7d26a0a71a87 100644
--- a/webkit/fileapi/file_system_dir_url_request_job_unittest.cc
+++ b/webkit/fileapi/file_system_dir_url_request_job_unittest.cc
@@ -62,7 +62,7 @@ class FileSystemDirURLRequestJobTest : public testing::Test {
GURL("http://remote/"), kFileSystemTypeTemporary, true, // create
base::Bind(&FileSystemDirURLRequestJobTest::OnValidateFileSystem,
weak_factory_.GetWeakPtr()));
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
net::URLRequest::Deprecated::RegisterProtocolFactory(
"filesystem", &FileSystemDirURLRequestJobFactory);
@@ -287,7 +287,7 @@ TEST_F(FileSystemDirURLRequestJobTest, Cancel) {
TestRequestNoRun(CreateFileSystemURL("foo/"));
// Run StartAsync() and only StartAsync().
MessageLoop::current()->DeleteSoon(FROM_HERE, request_.release());
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
// If we get here, success! we didn't crash!
}
« no previous file with comments | « webkit/dom_storage/dom_storage_context_unittest.cc ('k') | webkit/fileapi/file_system_file_stream_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698