Index: device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java |
diff --git a/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java b/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java |
index c735159562ade09baf87a0df9f37ab094cf5498e..8e1735e65b9eb99c7f0bb3c506dece4421958bdf 100644 |
--- a/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java |
+++ b/device/geolocation/android/java/src/org/chromium/device/geolocation/LocationProviderAdapter.java |
@@ -4,7 +4,6 @@ |
package org.chromium.device.geolocation; |
-import android.content.Context; |
import android.location.Location; |
import org.chromium.base.Log; |
@@ -31,13 +30,13 @@ public class LocationProviderAdapter { |
// Delegate handling the real work in the main thread. |
private LocationProviderFactory.LocationProvider mImpl; |
- private LocationProviderAdapter(Context context) { |
- mImpl = LocationProviderFactory.create(context); |
+ private LocationProviderAdapter() { |
+ mImpl = LocationProviderFactory.create(); |
} |
@CalledByNative |
- public static LocationProviderAdapter create(Context context) { |
- return new LocationProviderAdapter(context); |
+ public static LocationProviderAdapter create() { |
+ return new LocationProviderAdapter(); |
} |
/** |