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

Unified Diff: ios/crnet/crnet_environment.mm

Issue 2132593002: Remove remaining calls to deprecated MessageLoop methods on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ios call sites 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: ios/crnet/crnet_environment.mm
diff --git a/ios/crnet/crnet_environment.mm b/ios/crnet/crnet_environment.mm
index c4daef807b4b72512fc0de55ca3c61004800dc4b..024fc5fc4f741e078da45e37ff30443c0e53c050 100644
--- a/ios/crnet/crnet_environment.mm
+++ b/ios/crnet/crnet_environment.mm
@@ -137,13 +137,13 @@ class CrNetHttpProtocolHandlerDelegate
void CrNetEnvironment::PostToNetworkThread(
const tracked_objects::Location& from_here,
const base::Closure& task) {
- network_io_thread_->message_loop()->PostTask(from_here, task);
+ network_io_thread_->task_runner()->PostTask(from_here, task);
}
void CrNetEnvironment::PostToFileUserBlockingThread(
const tracked_objects::Location& from_here,
const base::Closure& task) {
- file_user_blocking_thread_->message_loop()->PostTask(from_here, task);
+ file_user_blocking_thread_->task_runner()->PostTask(from_here, task);
}
// static

Powered by Google App Engine
This is Rietveld 408576698