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

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: h264_vt_encoder_unittest.cc 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 e098cef2d76d73d441e976b5cfaf5b3b2b8b29b0..33f4160888e5f9877fddc237fde1d8fc2bf17544 100644
--- a/ios/crnet/crnet_environment.mm
+++ b/ios/crnet/crnet_environment.mm
@@ -139,13 +139,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
« no previous file with comments | « ios/chrome/browser/signin/browser_state_data_remover.mm ('k') | jingle/glue/chrome_async_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698