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

Unified Diff: content/browser/geolocation/geolocation_provider_impl_unittest.cc

Issue 2105173004: Remove calls to MessageLoop::current() in content. (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
« no previous file with comments | « content/browser/geolocation/geolocation_provider_impl.cc ('k') | content/child/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/geolocation_provider_impl_unittest.cc
diff --git a/content/browser/geolocation/geolocation_provider_impl_unittest.cc b/content/browser/geolocation/geolocation_provider_impl_unittest.cc
index a2ceaf63ec954e981aea1b0123447c24aa16fe05..7430b49c41a9e13ff142b04e875bb646667151d3 100644
--- a/content/browser/geolocation/geolocation_provider_impl_unittest.cc
+++ b/content/browser/geolocation/geolocation_provider_impl_unittest.cc
@@ -156,7 +156,7 @@ bool GeolocationProviderTest::ProvidersStarted() {
}
void GeolocationProviderTest::GetProvidersStarted(bool* started) {
- DCHECK(base::MessageLoop::current() == provider_->message_loop());
+ DCHECK(provider_->task_runner()->BelongsToCurrentThread());
*started = provider_->mock_arbitrator()->providers_started();
}
« no previous file with comments | « content/browser/geolocation/geolocation_provider_impl.cc ('k') | content/child/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698