Index: device/geolocation/android/junit/src/org/chromium/device/geolocation/LocationProviderTest.java |
diff --git a/device/geolocation/android/junit/src/org/chromium/device/geolocation/LocationProviderTest.java b/device/geolocation/android/junit/src/org/chromium/device/geolocation/LocationProviderTest.java |
index 5b0945996b437cf9255dcc440f4a10ea0fdaabaf..e6214e3c50d6faacd9d7172812bbc239c72d261d 100644 |
--- a/device/geolocation/android/junit/src/org/chromium/device/geolocation/LocationProviderTest.java |
+++ b/device/geolocation/android/junit/src/org/chromium/device/geolocation/LocationProviderTest.java |
@@ -111,7 +111,7 @@ public class LocationProviderTest { |
} |
private void createLocationProviderAdapter() { |
- mLocationProviderAdapter = LocationProviderAdapter.create(mContext); |
+ mLocationProviderAdapter = LocationProviderAdapter.create(); |
assertNotNull("LocationProvider", mLocationProviderAdapter); |
} |
@@ -132,7 +132,7 @@ public class LocationProviderTest { |
} |
private void setLocationProviderAndroid() { |
- LocationProviderAndroid locationProviderAndroid = new LocationProviderAndroid(mContext); |
+ LocationProviderAndroid locationProviderAndroid = new LocationProviderAndroid(); |
// Robolectric has a ShadowLocationManager class that mocks the behaviour of the real |
// class very closely. Use it here. |