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

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

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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: content/browser/geolocation/geolocation_provider.cc
diff --git a/content/browser/geolocation/geolocation_provider.cc b/content/browser/geolocation/geolocation_provider.cc
index 31c737b976b31fe6a85353376e623986bedd8726..582b28a56d6962049f07263dc2eeebabac212a6f 100644
--- a/content/browser/geolocation/geolocation_provider.cc
+++ b/content/browser/geolocation/geolocation_provider.cc
@@ -18,7 +18,7 @@ GeolocationProvider* GeolocationProvider::GetInstance() {
GeolocationProvider::GeolocationProvider()
: base::Thread("Geolocation"),
- client_loop_(base::MessageLoopProxy::CreateForCurrentThread()),
+ client_loop_(base::MessageLoopProxy::current()),
arbitrator_(NULL) {
}
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.cc ('k') | content/browser/geolocation/mock_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698