| 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 caa74795f478b099fb9287f3227341133efff92a..a43e6d66f8ee0b4559685b200eeaa299fc9e97a8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -4005,10 +4005,6 @@
|
| void HTMLMediaElement::onVisibilityChangedForAutoplay(bool isVisible) {
|
| if (!isVisible)
|
| return;
|
| - // Visibility change might be notified after stopping the observer, as it is a
|
| - // delayed task. Abort the steps if this happens.
|
| - if (!m_autoplayVisibilityObserver)
|
| - return;
|
|
|
| if (shouldAutoplay()) {
|
| m_paused = false;
|
|
|