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

Unified Diff: base/test/test_message_loop.cc

Issue 2103333006: Remove calls to deprecated MessageLoop methods in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/test/sequenced_worker_pool_owner.cc ('k') | base/threading/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_message_loop.cc
diff --git a/base/test/test_message_loop.cc b/base/test/test_message_loop.cc
index cc6a00073d837287d42604eb5038739accb768a5..7283a8799294d3c56bc8fd0aa016db89d21153e3 100644
--- a/base/test/test_message_loop.cc
+++ b/base/test/test_message_loop.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/run_loop.h"
#include "base/test/test_message_loop.h"
namespace base {
@@ -11,7 +12,7 @@ TestMessageLoop::TestMessageLoop() {}
TestMessageLoop::TestMessageLoop(MessageLoop::Type type) : loop_(type) {}
TestMessageLoop::~TestMessageLoop() {
- loop_.RunUntilIdle();
+ RunLoop().RunUntilIdle();
}
} // namespace base
« no previous file with comments | « base/test/sequenced_worker_pool_owner.cc ('k') | base/threading/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698