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

Unified Diff: blimp/net/thread_pipe_manager.cc

Issue 2076163002: Migrate SequencedTaskRunnerHandle calls to TaskRunnerHandle calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mix_c_Ab_1_scheduler_support_parallelTRH
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 | « blimp/net/blimp_message_thread_pipe.cc ('k') | chrome/browser/chrome_browser_main_extra_parts_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/thread_pipe_manager.cc
diff --git a/blimp/net/thread_pipe_manager.cc b/blimp/net/thread_pipe_manager.cc
index 4a61fac6eeecc9722fa3c60d035fcef41a64606d..28b00faf1b954e1613f95054fe034be7d5c6453f 100644
--- a/blimp/net/thread_pipe_manager.cc
+++ b/blimp/net/thread_pipe_manager.cc
@@ -6,7 +6,7 @@
#include "base/location.h"
#include "base/sequenced_task_runner.h"
-#include "base/threading/sequenced_task_runner_handle.h"
+#include "base/threading/task_runner_handle.h"
#include "blimp/net/blimp_message_processor.h"
#include "blimp/net/blimp_message_thread_pipe.h"
#include "blimp/net/browser_connection_handler.h"
@@ -103,7 +103,7 @@ std::unique_ptr<BlimpMessageProcessor> ThreadPipeManager::RegisterFeature(
// Creates an incoming pipe and a proxy for receiving messages
// from network components on the connection thread.
std::unique_ptr<BlimpMessageThreadPipe> incoming_pipe(
- new BlimpMessageThreadPipe(base::SequencedTaskRunnerHandle::Get()));
+ new BlimpMessageThreadPipe(base::TaskRunnerHandle::GetSequenced()));
incoming_pipe->set_target_processor(incoming_processor);
std::unique_ptr<BlimpMessageProcessor> incoming_proxy =
incoming_pipe->CreateProxy();
« no previous file with comments | « blimp/net/blimp_message_thread_pipe.cc ('k') | chrome/browser/chrome_browser_main_extra_parts_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698