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

Unified Diff: Source/modules/device_orientation/DeviceMotionController.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/core/frame/UseCounter.cpp ('k') | Source/modules/device_orientation/DeviceOrientationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_orientation/DeviceMotionController.cpp
diff --git a/Source/modules/device_orientation/DeviceMotionController.cpp b/Source/modules/device_orientation/DeviceMotionController.cpp
index 00f50502a8338c6b683f80e220c2fd7b5d490ef2..d08247d32eb3e3b84e5882686623e27991e5215e 100644
--- a/Source/modules/device_orientation/DeviceMotionController.cpp
+++ b/Source/modules/device_orientation/DeviceMotionController.cpp
@@ -54,7 +54,7 @@ void DeviceMotionController::didAddEventListener(LocalDOMWindow* window, const A
if (document().isPrivilegedContext(errorMessage)) {
UseCounter::count(document().frame(), UseCounter::DeviceMotionSecureOrigin);
} else {
- UseCounter::countDeprecation(document().frame(), UseCounter::DeviceMotionInsecureOrigin);
+ UseCounter::count(document().frame(), UseCounter::DeviceMotionInsecureOrigin);
if (document().frame()->settings()->strictPowerfulFeatureRestrictions())
return;
}
« no previous file with comments | « Source/core/frame/UseCounter.cpp ('k') | Source/modules/device_orientation/DeviceOrientationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698