| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index 67c4db6ac6ae10aaacbedb6ff106c748d22ca1d6..177ef5ccb50fdafb7c4fec3e1371c02564940e63 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3593,6 +3593,22 @@ void HTMLMediaElement::setNetworkState(NetworkState state)
|
| }
|
| }
|
|
|
| +void HTMLMediaElement::notifyPositionMayHaveChanged(const IntRect& visibleRect)
|
| +{
|
| + m_autoplayHelper.positionChanged(visibleRect);
|
| +}
|
| +
|
| +void HTMLMediaElement::updatePositionNotificationRegistration()
|
| +{
|
| + m_autoplayHelper.updatePositionNotificationRegistration();
|
| +}
|
| +
|
| +// TODO(liberato): remove once autoplay gesture override experiment concludes.
|
| +void HTMLMediaElement::triggerAutoplayViewportCheckForTesting()
|
| +{
|
| + m_autoplayHelper.triggerAutoplayViewportCheckForTesting();
|
| +}
|
| +
|
| #if ENABLE(WEB_AUDIO)
|
| void HTMLMediaElement::clearWeakMembers(Visitor* visitor)
|
| {
|
|
|