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

Unified Diff: ios/chrome/browser/reading_list/url_downloader_unittest.cc

Issue 2358633002: Remove call to MessageLoop::RunUntilIdle from wait_util.mm. (Closed)
Patch Set: add todos Created 4 years, 3 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
Index: ios/chrome/browser/reading_list/url_downloader_unittest.cc
diff --git a/ios/chrome/browser/reading_list/url_downloader_unittest.cc b/ios/chrome/browser/reading_list/url_downloader_unittest.cc
index 14ee119ac500fb8b0f5f734bb13e49848576cdfd..cbaec79ecf67e64b27436bac249dbebf3e374085 100644
--- a/ios/chrome/browser/reading_list/url_downloader_unittest.cc
+++ b/ios/chrome/browser/reading_list/url_downloader_unittest.cc
@@ -8,7 +8,6 @@
#include "base/files/file_util.h"
#import "base/mac/bind_objc_block.h"
-#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
#include "base/run_loop.h"
#import "base/test/ios/wait_util.h"
@@ -109,9 +108,7 @@ class URLDownloaderTest : public testing::Test {
}
void WaitUntilCondition(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(1));
}
};

Powered by Google App Engine
This is Rietveld 408576698