Index: content/browser/geolocation/location_api_adapter_android.h |
diff --git a/content/browser/geolocation/location_api_adapter_android.h b/content/browser/geolocation/location_api_adapter_android.h |
index 8cba148ae2cd15ec47e86b6550574493910d99d3..d1d2fa52ee74e21d4c4527c967d44d2c4ef0c426 100644 |
--- a/content/browser/geolocation/location_api_adapter_android.h |
+++ b/content/browser/geolocation/location_api_adapter_android.h |
@@ -9,12 +9,9 @@ |
#include "base/android/scoped_java_ref.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/singleton.h" |
+#include "base/message_loop/message_loop_proxy.h" |
#include "base/synchronization/lock.h" |
-namespace base { |
-class SingleThreadTaskRunner; |
-} |
- |
namespace content { |
class LocationProviderAndroid; |
struct Geoposition; |
@@ -76,7 +73,7 @@ class AndroidLocationApiAdapter { |
// Guards against the following member which is accessed on Geolocation |
// thread and the JNI main thread looper. |
base::Lock lock_; |
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
+ scoped_refptr<base::MessageLoopProxy> message_loop_; |
}; |
} // namespace content |