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

Unified Diff: Source/modules/device_orientation/DeviceOrientationController.cpp

Issue 1125573003: Update deprecation messages for powerful features on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update -expected.txt Created 5 years, 7 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
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_orientation/DeviceOrientationController.cpp
diff --git a/Source/modules/device_orientation/DeviceOrientationController.cpp b/Source/modules/device_orientation/DeviceOrientationController.cpp
index d10b338a9cd1409fcdcc3989d00fc13138ce4960..64e1989ad142c05efd5cded3256e54b03211ab74 100644
--- a/Source/modules/device_orientation/DeviceOrientationController.cpp
+++ b/Source/modules/device_orientation/DeviceOrientationController.cpp
@@ -61,7 +61,7 @@ void DeviceOrientationController::didAddEventListener(LocalDOMWindow* window, co
if (document().isPrivilegedContext(errorMessage)) {
UseCounter::count(document().frame(), UseCounter::DeviceOrientationSecureOrigin);
} else {
- UseCounter::countDeprecation(document().frame(), UseCounter::DeviceOrientationInsecureOrigin);
+ UseCounter::count(document().frame(), UseCounter::DeviceOrientationInsecureOrigin);
if (document().frame()->settings()->strictPowerfulFeatureRestrictions())
return;
}
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698