Index: content/browser/geofencing/geofencing_service.cc |
diff --git a/content/browser/geofencing/geofencing_service.cc b/content/browser/geofencing/geofencing_service.cc |
index 11df9529e4d34ce6646d507d48605ccdb34935ab..c9ea83d893fe361aec3837351057ca0a46493d67 100644 |
--- a/content/browser/geofencing/geofencing_service.cc |
+++ b/content/browser/geofencing/geofencing_service.cc |
@@ -4,8 +4,10 @@ |
#include "content/browser/geofencing/geofencing_service.h" |
+#include "base/location.h" |
#include "base/memory/singleton.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "content/browser/geofencing/geofencing_provider.h" |
#include "content/browser/geofencing/geofencing_registration_delegate.h" |
#include "content/public/browser/browser_thread.h" |
@@ -17,7 +19,7 @@ namespace { |
void RunSoon(const base::Closure& callback) { |
if (!callback.is_null()) |
- base::MessageLoop::current()->PostTask(FROM_HERE, callback); |
+ base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, callback); |
} |
} // namespace |