| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| index 2f3a19671a7d95acf03e75934ab6d60f3c330000..b88068544b64bbff79bc610d524f8b267194f041 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
|
| @@ -30,7 +30,6 @@
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "core/CoreExport.h"
|
| #include "core/dom/ActiveDOMObject.h"
|
| -#include "core/dom/ElementVisibilityObserver.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/events/GenericEventQueue.h"
|
| #include "core/html/AutoplayExperimentHelper.h"
|
| @@ -71,7 +70,7 @@ class WebInbandTextTrack;
|
| class WebLayer;
|
| class WebRemotePlaybackClient;
|
|
|
| -class CORE_EXPORT HTMLMediaElement : public HTMLElement, public Supplementable<HTMLMediaElement>, public ActiveScriptWrappable, public ActiveDOMObject, private WebMediaPlayerClient, private ElementVisibilityObserver::Client {
|
| +class CORE_EXPORT HTMLMediaElement : public HTMLElement, public Supplementable<HTMLMediaElement>, public ActiveScriptWrappable, public ActiveDOMObject, private WebMediaPlayerClient {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElement);
|
| USING_PRE_FINALIZER(HTMLMediaElement, dispose);
|
| @@ -503,9 +502,7 @@ private:
|
| void recordAutoplaySourceMetric(int source);
|
| void recordAutoplayUnmuteStatus(AutoplayUnmuteActionStatus);
|
|
|
| - // ElementVisibilityObserver::Client implementation
|
| - void onVisibilityChanged(bool isVisible) override;
|
| - ExecutionContext* getElementVisibilityExecutionContext() const override { return getExecutionContext(); }
|
| + void onVisibilityChangedForAutoplay(bool isVisible);
|
|
|
| UnthrottledThreadTimer<HTMLMediaElement> m_loadTimer;
|
| UnthrottledThreadTimer<HTMLMediaElement> m_progressEventTimer;
|
|
|