| Index: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| index e6e48acb49603b7a781636bea81e181b75ce3604..881839654a39840ba041d67f19f9439ee794135e 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/frame/Settings.h"
|
| #include "modules/geolocation/Coordinates.h"
|
| #include "modules/geolocation/GeolocationError.h"
|
| +#include "platform/UserGestureIndicator.h"
|
| #include "platform/mojo/MojoHelper.h"
|
| #include "public/platform/ServiceRegistry.h"
|
| #include "wtf/Assertions.h"
|
| @@ -428,6 +429,7 @@ void Geolocation::requestPermission()
|
| m_permissionService->RequestPermission(
|
| mojom::blink::PermissionName::GEOLOCATION,
|
| getExecutionContext()->getSecurityOrigin()->toString(),
|
| + UserGestureIndicator::processingUserGesture(),
|
| createBaseCallback(bind<mojom::blink::PermissionStatus>(&Geolocation::onGeolocationPermissionUpdated, this)));
|
| }
|
|
|
|
|