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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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/device_orientation/DeviceOrientationController.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
index 0390ae33f29989458d08b3a3603224d64a819f24..35b1c813d5529e1100c68def7bdc95ff40f97151 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp
@@ -61,7 +61,10 @@ void DeviceOrientationController::didAddEventListener(
HostsUsingFeatures::countAnyWorld(
document(),
HostsUsingFeatures::Feature::DeviceOrientationInsecureHost);
- if (document().frame()->settings()->strictPowerfulFeatureRestrictions())
+ if (document()
+ .frame()
+ ->settings()
+ ->getStrictPowerfulFeatureRestrictions())
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698