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

Unified Diff: chrome/browser/metrics/thread_watcher.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/metrics/thread_watcher.cc
diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc
index e4eb8f3c3f96e01339ecf0b0a7f6d617a04bca74..84a00ae4e45f32c74fe06ff11da31ca4f7e64500 100644
--- a/chrome/browser/metrics/thread_watcher.cc
+++ b/chrome/browser/metrics/thread_watcher.cc
@@ -39,8 +39,7 @@ using content::BrowserThread;
ThreadWatcher::ThreadWatcher(const WatchingParams& params)
: thread_id_(params.thread_id),
thread_name_(params.thread_name),
- watched_runner_(
- BrowserThread::GetMessageLoopProxyForThread(params.thread_id)),
+ watched_runner_(BrowserThread::GetTaskRunnerForThread(params.thread_id)),
sleep_time_(params.sleep_time),
unresponsive_time_(params.unresponsive_time),
ping_time_(base::TimeTicks::Now()),

Powered by Google App Engine
This is Rietveld 408576698