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

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

Issue 2123653003: Remove calls to MessageLoop::current() in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« 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 d9b30b8d04fd1c49c636b001a85e3db9cfad41a2..62506f9688be36aeffcedc9a655eeba3b1f4caf9 100644
--- a/content/browser/geolocation/geolocation_provider_impl_unittest.cc
+++ b/content/browser/geolocation/geolocation_provider_impl_unittest.cc
@@ -157,7 +157,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