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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.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/DeviceMotionController.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
index 52d6e60fbfd87c8f0a41225f8ec694779a042db9..7fb8ad9e9ee5dfe72e9e2d2c642997b195d54105 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp
@@ -51,7 +51,10 @@ void DeviceMotionController::didAddEventListener(
UseCounter::DeviceMotionInsecureOrigin);
HostsUsingFeatures::countAnyWorld(
document(), HostsUsingFeatures::Feature::DeviceMotionInsecureHost);
- if (document().frame()->settings()->strictPowerfulFeatureRestrictions())
+ if (document()
+ .frame()
+ ->settings()
+ ->getStrictPowerfulFeatureRestrictions())
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698