Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index c7d716a787dd90f15d3235deb70071d632a7e87a..0eac8e5c4b048bbb87a4e453cf02730381164464 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3669,4 +3669,20 @@ void WebContentsImpl::OnFrameRemoved( |
FrameDetached(render_view_host, frame_id)); |
} |
+void WebContentsImpl::PauseGeolocation() { |
+ RenderViewHostImpl* rvh = |
+ static_cast<RenderViewHostImpl*>(GetRenderViewHost()); |
+ if (rvh) { |
+ rvh->PauseGeolocation(); |
+ } |
+} |
+ |
+void WebContentsImpl::ResumeGeolocation() { |
+ RenderViewHostImpl* rvh = |
+ static_cast<RenderViewHostImpl*>(GetRenderViewHost()); |
+ if (rvh) { |
+ rvh->ResumeGeolocation(); |
+ } |
+} |
+ |
} // namespace content |