Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index 718303644bcbee279615a7da42e7af9a2312adea..c67771ba41f18f18b4dacfe230439526e0f70716 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -302,13 +302,11 @@ protected: |
NoRestrictions = 0, |
RequireUserGestureForPlayRestriction = 1 << 0, |
RequireUserGestureForFullscreenRestriction = 1 << 1, |
- RequirePageConsentToLoadMediaRestriction = 1 << 2, |
}; |
typedef unsigned BehaviorRestrictions; |
bool userGestureRequiredForPlay() const { return m_restrictions & RequireUserGestureForPlayRestriction; } |
bool userGestureRequiredForFullscreen() const { return m_restrictions & RequireUserGestureForFullscreenRestriction; } |
- bool pageConsentRequiredForLoad() const { return m_restrictions & RequirePageConsentToLoadMediaRestriction; } |
void addBehaviorRestriction(BehaviorRestrictions restriction) { m_restrictions |= restriction; } |
void removeBehaviorRestriction(BehaviorRestrictions restriction) { m_restrictions &= ~restriction; } |