| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index d9b98790bc20c71497fc617c00304b2d371bc508..cdc2146619310333341c4e936ae59e3835d78adb 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -23,7 +23,7 @@
|
| #include "content/browser/android/load_url_params.h"
|
| #include "content/browser/android/popup_touch_handle_drawable.h"
|
| #include "content/browser/frame_host/interstitial_page_impl.h"
|
| -#include "content/browser/geolocation/geolocation_service_context.h"
|
| +#include "content/browser/geolocation/geolocation_dispatcher_host.h"
|
| #include "content/browser/media/media_web_contents_observer.h"
|
| #include "content/browser/renderer_host/compositor_impl_android.h"
|
| #include "content/browser/renderer_host/input/motion_event_android.h"
|
| @@ -363,10 +363,7 @@
|
| }
|
|
|
| void ContentViewCoreImpl::PauseOrResumeGeolocation(bool should_pause) {
|
| - if (should_pause)
|
| - web_contents_->GetGeolocationServiceContext()->PauseUpdates();
|
| - else
|
| - web_contents_->GetGeolocationServiceContext()->ResumeUpdates();
|
| + web_contents_->geolocation_dispatcher_host()->PauseOrResume(should_pause);
|
| }
|
|
|
| // All positions and sizes are in CSS pixels.
|
|
|