| 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..149be46407c3fffe1049dc7295f5fba9640ec6b4 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| @@ -426,8 +426,10 @@ void Geolocation::requestPermission()
|
| m_permissionService.set_connection_error_handler(convertToBaseCallback(WTF::bind(&Geolocation::onPermissionConnectionError, wrapWeakPersistent(this))));
|
|
|
| // Ask the embedder: it maintains the geolocation challenge policy itself.
|
| + auto descriptor = mojom::blink::PermissionDescriptor::New();
|
| + descriptor->name = mojom::blink::PermissionName::GEOLOCATION;
|
| m_permissionService->RequestPermission(
|
| - mojom::blink::PermissionName::GEOLOCATION,
|
| + std::move(descriptor),
|
| getExecutionContext()->getSecurityOrigin(),
|
| UserGestureIndicator::processingUserGesture(),
|
| convertToBaseCallback(WTF::bind(&Geolocation::onGeolocationPermissionUpdated, wrapPersistent(this))));
|
|
|