| Index: chrome/browser/metrics/thread_watcher.cc
|
| diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc
|
| index e0ab007ab09a6b41746f693722b15e43f1dc81d8..e4eb8f3c3f96e01339ecf0b0a7f6d617a04bca74 100644
|
| --- a/chrome/browser/metrics/thread_watcher.cc
|
| +++ b/chrome/browser/metrics/thread_watcher.cc
|
| @@ -749,7 +749,7 @@ WatchDogThread::~WatchDogThread() {
|
| bool WatchDogThread::CurrentlyOnWatchDogThread() {
|
| base::AutoLock lock(g_watchdog_lock.Get());
|
| return g_watchdog_thread &&
|
| - g_watchdog_thread->message_loop() == base::MessageLoop::current();
|
| + g_watchdog_thread->task_runner()->BelongsToCurrentThread();
|
| }
|
|
|
| // static
|
|
|