| Index: device/geolocation/geolocation_service_impl.cc
|
| diff --git a/device/geolocation/geolocation_service_impl.cc b/device/geolocation/geolocation_service_impl.cc
|
| index 482de43209a84cfb313dda921977c915ccaad957..1df0c035fa1d5ac8a006a64414444fd6dfd38e50 100644
|
| --- a/device/geolocation/geolocation_service_impl.cc
|
| +++ b/device/geolocation/geolocation_service_impl.cc
|
| @@ -76,7 +76,7 @@ GeolocationServiceImpl::~GeolocationServiceImpl() {
|
| // Make sure to respond to any pending callback even without a valid position.
|
| if (!position_callback_.is_null()) {
|
| if (!current_position_.valid) {
|
| - current_position_.error_code = blink::mojom::Geoposition::ErrorCode(
|
| + current_position_.error_code = mojom::Geoposition::ErrorCode(
|
| GEOPOSITION_ERROR_CODE_POSITION_UNAVAILABLE);
|
| current_position_.error_message = mojo::String("");
|
| }
|
| @@ -175,7 +175,7 @@ void GeolocationServiceImpl::OnLocationUpdate(const Geoposition& position) {
|
| current_position_.speed = position.speed;
|
| current_position_.timestamp = position.timestamp.ToDoubleT();
|
| current_position_.error_code =
|
| - blink::mojom::Geoposition::ErrorCode(position.error_code);
|
| + mojom::Geoposition::ErrorCode(position.error_code);
|
| current_position_.error_message = position.error_message;
|
|
|
| has_position_to_report_ = true;
|
|
|