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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry_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/custom_handlers/protocol_handler_registry_unittest.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
index 806e8b3999873940c886eba138fa2a81490b7c61..b2ecc2ea40ef5ae3b8b2f5e5ddd8cf943a444ca7 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc
@@ -48,7 +48,7 @@ void AssertIntercepted(
base::Bind(AssertInterceptedIO,
url,
base::Unretained(interceptor)));
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
}
void AssertWillHandleIO(
@@ -70,7 +70,7 @@ void AssertWillHandle(
scheme,
expected,
base::Unretained(interceptor)));
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
}
class FakeDelegate : public ProtocolHandlerRegistry::Delegate {

Powered by Google App Engine
This is Rietveld 408576698