diff options
Diffstat (limited to 'sync/tools')
-rw-r--r-- | sync/tools/sync_client.cc | 2 | ||||
-rw-r--r-- | sync/tools/sync_listen_notifications.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc index a433fa9..f46d39b 100644 --- a/sync/tools/sync_client.cc +++ b/sync/tools/sync_client.cc @@ -330,7 +330,7 @@ int SyncClientMain(int argc, char* argv[]) { // Set up sync notifier factory. const scoped_refptr<MyTestURLRequestContextGetter> context_getter = - new MyTestURLRequestContextGetter(io_thread.message_loop_proxy()); + new MyTestURLRequestContextGetter(io_thread.task_runner()); const notifier::NotifierOptions& notifier_options = ParseNotifierOptions(command_line, context_getter); syncer::NetworkChannelCreator network_channel_creator = diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc index c6cc11f..6f6f534 100644 --- a/sync/tools/sync_listen_notifications.cc +++ b/sync/tools/sync_listen_notifications.cc @@ -179,7 +179,7 @@ int SyncListenNotificationsMain(int argc, char* argv[]) { const notifier::NotifierOptions& notifier_options = ParseNotifierOptions( command_line, - new MyTestURLRequestContextGetter(io_thread.message_loop_proxy())); + new MyTestURLRequestContextGetter(io_thread.task_runner())); syncer::NetworkChannelCreator network_channel_creator = syncer::NonBlockingInvalidator::MakePushClientChannelCreator( notifier_options); |