| 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 cd8df3c870ffe60090e87a18ad276bf98cb8bf77..1fc86b8c5fff86701c0df31879a8f7f256bb2f8c 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| @@ -33,8 +33,8 @@
|
| #include "core/frame/Settings.h"
|
| #include "modules/geolocation/Coordinates.h"
|
| #include "modules/geolocation/GeolocationError.h"
|
| +#include "modules/permissions/PermissionUtils.h"
|
| #include "platform/UserGestureIndicator.h"
|
| -#include "platform/mojo/MojoHelper.h"
|
| #include "public/platform/InterfaceProvider.h"
|
| #include "public/platform/Platform.h"
|
| #include "wtf/Assertions.h"
|
| @@ -427,7 +427,7 @@ void Geolocation::requestPermission()
|
|
|
| // Ask the embedder: it maintains the geolocation challenge policy itself.
|
| m_permissionService->RequestPermission(
|
| - mojom::blink::PermissionName::GEOLOCATION,
|
| + createPermissionDescriptor(mojom::blink::PermissionName::GEOLOCATION),
|
| getExecutionContext()->getSecurityOrigin(),
|
| UserGestureIndicator::processingUserGesture(),
|
| convertToBaseCallback(WTF::bind(&Geolocation::onGeolocationPermissionUpdated, wrapPersistent(this))));
|
|
|