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 c39dc507b8c19f4eeb750d32de7af56ef3954e96..29fc6138ddd8d7ddd06d6faaf45698dcc0d56af2 100644 |
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp |
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp |
@@ -157,8 +157,10 @@ void Geolocation::recordOriginTypeAccess() const |
String insecureOriginMsg; |
if (document->isSecureContext(insecureOriginMsg)) { |
UseCounter::count(document, UseCounter::GeolocationSecureOrigin); |
+ UseCounter::countCrossOriginIframe(*document, UseCounter::GeolocationSecureOriginIframe); |
} else { |
UseCounter::countDeprecation(document, UseCounter::GeolocationInsecureOrigin); |
+ UseCounter::countCrossOriginIframe(*document, UseCounter::GeolocationInsecureOriginIframe); |
OriginsUsingFeatures::countAnyWorld(*document, OriginsUsingFeatures::Feature::GeolocationInsecureOrigin); |
} |
} |