Index: third_party/WebKit/Source/core/html/media/AutoplayUmaHelper.cpp |
diff --git a/third_party/WebKit/Source/core/html/media/AutoplayUmaHelper.cpp b/third_party/WebKit/Source/core/html/media/AutoplayUmaHelper.cpp |
index 410dcc50e41ceff3d8ab904d199a1d7c02fe58e0..3ee04e501e9d8e8d5d844233be1bd302951f4e72 100644 |
--- a/third_party/WebKit/Source/core/html/media/AutoplayUmaHelper.cpp |
+++ b/third_party/WebKit/Source/core/html/media/AutoplayUmaHelper.cpp |
@@ -111,7 +111,8 @@ void AutoplayUmaHelper::OnAutoplayInitiated(AutoplaySource source) { |
RuntimeEnabledFeatures::autoplayMutedVideosEnabled()) { |
bool data_saver_enabled = |
element_->GetDocument().GetSettings() && |
- element_->GetDocument().GetSettings()->GetDataSaverEnabled(); |
+ element_->GetDocument().GetSettings()->GetDataSaverFlag() == |
+ WebDataSaverFlag::kEnabled; |
bool blocked_by_setting = |
!element_->GetAutoplayPolicy().IsAutoplayAllowedPerSettings(); |