| Index: device/geolocation/location_provider_android.cc
|
| diff --git a/device/geolocation/location_provider_android.cc b/device/geolocation/location_provider_android.cc
|
| index 0f97923dc8900e3894b90fe6e9916e90a10244ea..0c10a7140af8b08894c6f883d5a4362322127f98 100644
|
| --- a/device/geolocation/location_provider_android.cc
|
| +++ b/device/geolocation/location_provider_android.cc
|
| @@ -32,8 +32,8 @@ void LocationProviderAndroid::StopProvider() {
|
| AndroidLocationApiAdapter::GetInstance()->Stop();
|
| }
|
|
|
| -void LocationProviderAndroid::GetPosition(Geoposition* position) {
|
| - *position = last_position_;
|
| +const Geoposition& LocationProviderAndroid::GetPosition() {
|
| + return last_position_;
|
| }
|
|
|
| void LocationProviderAndroid::RequestRefresh() {
|
|
|