Index: chrome/browser/metrics/chromeos_metrics_provider_unittest.cc |
diff --git a/chrome/browser/metrics/chromeos_metrics_provider_unittest.cc b/chrome/browser/metrics/chromeos_metrics_provider_unittest.cc |
index 76f8ac0bb5832816a6f51762a63e2e0b7cc29f39..1e8357acfda65ae08549f94017bf1cfc8f53b1a9 100644 |
--- a/chrome/browser/metrics/chromeos_metrics_provider_unittest.cc |
+++ b/chrome/browser/metrics/chromeos_metrics_provider_unittest.cc |
@@ -132,7 +132,7 @@ class TestChromeOSMetricsProvider : public ChromeOSMetricsProvider { |
base::RunLoop().Run(); |
} |
void GetBluetoothAdapterCallback() { |
- ASSERT_TRUE(base::MessageLoop::current()->is_running()); |
+ ASSERT_TRUE(base::RunLoop::IsRunningOnCurrentThread()); |
base::MessageLoop::current()->QuitWhenIdle(); |
} |
}; |