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

Unified Diff: third_party/WebKit/Source/core/html/AutoplayUmaHelper.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/core/html/AutoplayUmaHelper.cpp
diff --git a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp
index f97742b1154aa2dc234f477e34f7ae1aec01a9d4..c742dd041b37e7417d25556c77999747f2b6ce0c 100644
--- a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp
+++ b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp
@@ -79,7 +79,7 @@ void AutoplayUmaHelper::onAutoplayInitiated(AutoplaySource source) {
RuntimeEnabledFeatures::autoplayMutedVideosEnabled()) {
bool dataSaverEnabled =
m_element->document().settings() &&
- m_element->document().settings()->dataSaverEnabled();
+ m_element->document().settings()->getDataSaverEnabled();
bool blockedBySetting = !m_element->isAutoplayAllowedPerSettings();
if (dataSaverEnabled && blockedBySetting) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698