| 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 a49fea97e47e7b1d2af3f2810f96ceae80bccffd..fcc3459f06b835cf8f6905a3511da22fdf612c65 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| @@ -42,6 +42,7 @@
|
| #include "platform/wtf/CurrentTime.h"
|
| #include "public/platform/InterfaceProvider.h"
|
| #include "public/platform/Platform.h"
|
| +#include "public/platform/WebFeaturePolicyFeature.h"
|
|
|
| namespace blink {
|
| namespace {
|
| @@ -151,6 +152,8 @@ void Geolocation::RecordOriginTypeAccess() const {
|
| UseCounter::Count(document, WebFeature::kGeolocationSecureOrigin);
|
| UseCounter::CountCrossOriginIframe(
|
| *document, WebFeature::kGeolocationSecureOriginIframe);
|
| + Deprecation::CountDeprecationFeaturePolicy(
|
| + *document, WebFeaturePolicyFeature::kGeolocation);
|
| } else if (GetFrame()
|
| ->GetSettings()
|
| ->GetAllowGeolocationOnInsecureOrigins()) {
|
| @@ -165,6 +168,8 @@ void Geolocation::RecordOriginTypeAccess() const {
|
| WebFeature::kGeolocationInsecureOriginIframeDeprecatedNotRemoved);
|
| HostsUsingFeatures::CountAnyWorld(
|
| *document, HostsUsingFeatures::Feature::kGeolocationInsecureHost);
|
| + Deprecation::CountDeprecationFeaturePolicy(
|
| + *document, WebFeaturePolicyFeature::kGeolocation);
|
| } else {
|
| Deprecation::CountDeprecation(document,
|
| WebFeature::kGeolocationInsecureOrigin);
|
|
|