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

Unified Diff: ios/web/public/test/web_test_with_web_state.mm

Issue 2616843002: Remove deprecated wait_util methods. (Closed)
Patch Set: Convert remaining uses of WaitUntilCondition. Created 3 years, 11 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 | « ios/chrome/browser/ui/stack_view/stack_view_controller_perftest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/web_test_with_web_state.mm
diff --git a/ios/web/public/test/web_test_with_web_state.mm b/ios/web/public/test/web_test_with_web_state.mm
index 6ad0beb34e64d86f314bb9ffd1659cfb152d642b..1b868c9daf9b120043a844e4449d45f8869bb7ef 100644
--- a/ios/web/public/test/web_test_with_web_state.mm
+++ b/ios/web/public/test/web_test_with_web_state.mm
@@ -113,9 +113,7 @@ void WebTestWithWebState::WaitForBackgroundTasks() {
}
void WebTestWithWebState::WaitForCondition(ConditionBlock condition) {
- base::MessageLoop* messageLoop = base::MessageLoop::current();
- DCHECK(messageLoop);
- base::test::ios::WaitUntilCondition(condition, messageLoop,
+ base::test::ios::WaitUntilCondition(condition, true,
base::TimeDelta::FromSeconds(10));
}
« no previous file with comments | « ios/chrome/browser/ui/stack_view/stack_view_controller_perftest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698