| 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 036b29e820c6a6426612f9dea719ddb00a1122c2..efdb860a03b604b053a2dcc6507b1a5393f3035a 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| @@ -155,6 +155,14 @@ void Geolocation::recordOriginTypeAccess() const
|
| if (document->isSecureContext(insecureOriginMsg)) {
|
| UseCounter::count(document, UseCounter::GeolocationSecureOrigin);
|
| UseCounter::countCrossOriginIframe(*document, UseCounter::GeolocationSecureOriginIframe);
|
| + } else if (frame()->settings()->allowGeolocationOnInsecureOrigins()) {
|
| + // TODO(jww): This should be removed after WebView is fixed so that it
|
| + // disallows geolocation in insecure contexts.
|
| + //
|
| + // See https://crbug.com/603574.
|
| + Deprecation::countDeprecation(document, UseCounter::GeolocationInsecureOriginDeprecatedNotRemoved);
|
| + Deprecation::countDeprecationCrossOriginIframe(*document, UseCounter::GeolocationInsecureOriginIframeDeprecatedNotRemoved);
|
| + OriginsUsingFeatures::countAnyWorld(*document, OriginsUsingFeatures::Feature::GeolocationInsecureOrigin);
|
| } else {
|
| Deprecation::countDeprecation(document, UseCounter::GeolocationInsecureOrigin);
|
| Deprecation::countDeprecationCrossOriginIframe(*document, UseCounter::GeolocationInsecureOriginIframe);
|
|
|