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

Unified Diff: components/devtools_http_handler/devtools_http_handler.cc

Issue 2082333002: Remove calls to deprecated MessageLoop methods in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: components/devtools_http_handler/devtools_http_handler.cc
diff --git a/components/devtools_http_handler/devtools_http_handler.cc b/components/devtools_http_handler/devtools_http_handler.cc
index 89325284a9fd948a77fa1f4fd2e8e5939628294e..6d2f94cf03c1fc1370c35f08bef9751755c7acce 100644
--- a/components/devtools_http_handler/devtools_http_handler.cc
+++ b/components/devtools_http_handler/devtools_http_handler.cc
@@ -178,11 +178,11 @@ void TerminateOnUI(base::Thread* thread,
DCHECK_CURRENTLY_ON(BrowserThread::UI);
if (server_wrapper) {
DCHECK(thread);
- thread->message_loop()->DeleteSoon(FROM_HERE, server_wrapper);
+ thread->task_runner()->DeleteSoon(FROM_HERE, server_wrapper);
}
if (socket_factory) {
DCHECK(thread);
- thread->message_loop()->DeleteSoon(FROM_HERE, socket_factory);
+ thread->task_runner()->DeleteSoon(FROM_HERE, socket_factory);
}
if (thread) {
BrowserThread::DeleteSoon(BrowserThread::FILE, FROM_HERE, thread);

Powered by Google App Engine
This is Rietveld 408576698