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

Unified Diff: ios/web/webui/mojo_facade_unittest.mm

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/web/webui/mojo_facade_unittest.mm
diff --git a/ios/web/webui/mojo_facade_unittest.mm b/ios/web/webui/mojo_facade_unittest.mm
index 669ed4b89182827456acabbd08df20c526de48be..fb0d28bc8cb712a5179198e171714fdc292b556b 100644
--- a/ios/web/webui/mojo_facade_unittest.mm
+++ b/ios/web/webui/mojo_facade_unittest.mm
@@ -6,7 +6,6 @@
#include <memory>
-#include "base/message_loop/message_loop.h"
#import "base/mac/scoped_nsobject.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/sys_string_conversions.h"
@@ -216,9 +215,11 @@ TEST_F(MojoFacadeTest, Watch) {
EXPECT_TRUE(base::StringToInt(result_as_string, &result));
EXPECT_EQ(MOJO_RESULT_OK, static_cast<MojoResult>(result));
- base::test::ios::WaitUntilCondition(^{
- return callback_received;
- }, base::MessageLoop::current(), base::TimeDelta());
+ base::test::ios::WaitUntilCondition(
+ ^{
+ return callback_received;
+ },
+ true, base::TimeDelta());
}
// Tests reading the message from the pipe.
« base/test/ios/wait_util.mm ('K') | « ios/web/net/crw_cert_verification_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698