Index: third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp |
diff --git a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp |
index b068dd92e3ba16c6d3de7e19801bc0a6032726ba..de781b91fe9bcc470498a490a8fc031e98bebcb8 100644 |
--- a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp |
+++ b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp |
@@ -250,7 +250,8 @@ bool AutoplayPolicy::IsGestureNeededForPlaybackIfPendingUserGestureIsLocked() |
if (element_->IsHTMLVideoElement() && element_->muted() && |
RuntimeEnabledFeatures::autoplayMutedVideosEnabled() && |
!(element_->GetDocument().GetSettings() && |
- element_->GetDocument().GetSettings()->GetDataSaverEnabled()) && |
+ element_->GetDocument().GetSettings()->GetDataSaverFlag() == |
+ WebDataSaverFlag::kEnabled) && |
!(element_->GetDocument().GetSettings() && |
element_->GetDocument() |
.GetSettings() |