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

Unified Diff: content/utility/webthread_impl_for_utility_thread.cc

Issue 1159623009: content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test build fix. Created 5 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 | « content/utility/in_process_utility_thread.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/webthread_impl_for_utility_thread.cc
diff --git a/content/utility/webthread_impl_for_utility_thread.cc b/content/utility/webthread_impl_for_utility_thread.cc
index 12c4caa66073e795e01df414bb7d646a505823d0..f72456d77126ae567099634c2efcea59034a079d 100644
--- a/content/utility/webthread_impl_for_utility_thread.cc
+++ b/content/utility/webthread_impl_for_utility_thread.cc
@@ -4,10 +4,12 @@
#include "content/utility/webthread_impl_for_utility_thread.h"
+#include "base/thread_task_runner_handle.h"
+
namespace content {
WebThreadImplForUtilityThread::WebThreadImplForUtilityThread()
- : task_runner_(base::MessageLoopProxy::current()),
+ : task_runner_(base::ThreadTaskRunnerHandle::Get()),
thread_id_(base::PlatformThread::CurrentId()) {
}
« no previous file with comments | « content/utility/in_process_utility_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698