| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index a40518fd7de3d4b3cb9df4934887840db25902ad..feefd7c41cd49f1e0185dddfde773bc76ccf078a 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -53,6 +53,7 @@
|
| #include "content/public/browser/browser_plugin_guest_manager.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| +#include "content/public/browser/permission_type.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_widget_host_view.h"
|
| #include "content/public/browser/stream_handle.h"
|
| @@ -1948,7 +1949,7 @@ void RenderFrameHostImpl::CancelSuspendedNavigations() {
|
| void RenderFrameHostImpl::DidUseGeolocationPermission() {
|
| RenderFrameHost* top_frame = frame_tree_node()->frame_tree()->GetMainFrame();
|
| GetContentClient()->browser()->RegisterPermissionUsage(
|
| - PERMISSION_GEOLOCATION,
|
| + PermissionType::GEOLOCATION,
|
| delegate_->GetAsWebContents(),
|
| GetLastCommittedURL().GetOrigin(),
|
| top_frame->GetLastCommittedURL().GetOrigin());
|
|
|