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

Unified Diff: components/arc/standalone/service_helper_unittest.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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: components/arc/standalone/service_helper_unittest.cc
diff --git a/components/arc/standalone/service_helper_unittest.cc b/components/arc/standalone/service_helper_unittest.cc
index a1da8fc8db49604967c73cc0cae74cb6ccb75c49..a72703b0a798ab8910a0164607a7407ebfe16aec 100644
--- a/components/arc/standalone/service_helper_unittest.cc
+++ b/components/arc/standalone/service_helper_unittest.cc
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
+#include "base/single_thread_task_runner.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "base/threading/platform_thread.h"
@@ -29,7 +30,7 @@ class ServiceHelperTest : public ::testing::Test {
void Quit() {
CHECK(base_loop_);
CHECK(run_loop_);
- base_loop_->PostTask(FROM_HERE, run_loop_->QuitClosure());
+ base_loop_->task_runner()->PostTask(FROM_HERE, run_loop_->QuitClosure());
}
void Init() {

Powered by Google App Engine
This is Rietveld 408576698