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

Unified Diff: base/test/ios/wait_util.mm

Issue 2132593002: Remove remaining calls to deprecated MessageLoop methods on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR gab Created 4 years, 5 months 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
« no previous file with comments | « base/message_loop/message_pump_glib_unittest.cc ('k') | chrome/app_shim/chrome_main_app_mode_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/ios/wait_util.mm
diff --git a/base/test/ios/wait_util.mm b/base/test/ios/wait_util.mm
index c69b692eff168eda7f90ae45e09cbc1bf344a025..5819e33a2b265ef8974cdb5ca9f18d47350019cc 100644
--- a/base/test/ios/wait_util.mm
+++ b/base/test/ios/wait_util.mm
@@ -8,7 +8,7 @@
#include "base/logging.h"
#include "base/mac/scoped_nsobject.h"
-#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/test/test_timeouts.h"
#include "base/timer/elapsed_timer.h"
@@ -29,7 +29,7 @@ TimeDelta TimeUntilCondition(ProceduralBlock action,
while (timer.Elapsed() < timeout && (!condition || !condition())) {
SpinRunLoopWithMaxDelay(spin_delay);
if (message_loop) {
- message_loop->RunUntilIdle();
+ RunLoop().RunUntilIdle();
}
}
TimeDelta elapsed = timer.Elapsed();
« no previous file with comments | « base/message_loop/message_pump_glib_unittest.cc ('k') | chrome/app_shim/chrome_main_app_mode_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698