Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp

Issue 1753953002: Add new countDeprecationCrossOriginIframe for deprecated counters (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix lack-of-deprecation-msg Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7b3f9e099a6f93ec5b33e411edbae221c897f750..634e878327c79059024b94374b9c1dae5838115e 100644
--- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
+++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
@@ -160,7 +160,7 @@ void Geolocation::recordOriginTypeAccess() const
UseCounter::countCrossOriginIframe(*document, UseCounter::GeolocationSecureOriginIframe);
} else {
Deprecation::countDeprecation(document, UseCounter::GeolocationInsecureOrigin);
- UseCounter::countCrossOriginIframe(*document, UseCounter::GeolocationInsecureOriginIframe);
+ Deprecation::countDeprecationCrossOriginIframe(*document, UseCounter::GeolocationInsecureOriginIframe);
OriginsUsingFeatures::countAnyWorld(*document, OriginsUsingFeatures::Feature::GeolocationInsecureOrigin);
}
}

Powered by Google App Engine
This is Rietveld 408576698