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 d1d2fa52ee74e21d4c4527c967d44d2c4ef0c426..8cba148ae2cd15ec47e86b6550574493910d99d3 100644 |
--- a/content/browser/geolocation/location_api_adapter_android.h |
+++ b/content/browser/geolocation/location_api_adapter_android.h |
@@ -9,9 +9,12 @@ |
#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; |
@@ -73,7 +76,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::MessageLoopProxy> message_loop_; |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
}; |
} // namespace content |