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

Unified Diff: mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc

Issue 2104363004: Remove remaining calls to deprecated MessageLoop methods. (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
Index: mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
index cf898973a672f6aa82f71632174120b13e3b407a..4d3a93ea6eb05185b1b7a04ebcd055f03adace53 100644
--- a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
@@ -195,9 +195,9 @@ class IntegerAccessorImpl : public sample::IntegerAccessor {
class InterfacePtrTest : public testing::Test {
public:
InterfacePtrTest() {}
- ~InterfacePtrTest() override { loop_.RunUntilIdle(); }
+ ~InterfacePtrTest() override { base::RunLoop().RunUntilIdle(); }
- void PumpMessages() { loop_.RunUntilIdle(); }
+ void PumpMessages() { base::RunLoop().RunUntilIdle(); }
private:
base::MessageLoop loop_;
« no previous file with comments | « mojo/public/cpp/bindings/tests/handle_passing_unittest.cc ('k') | mojo/public/cpp/bindings/tests/request_response_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698