| Index: third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp b/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
|
| index 8c54ab13ba909a26f8eee03461aaef26c51f3bff..9b3db335c44c20a1fd7e9a999e8d10b32ee895b7 100644
|
| --- a/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
|
| +++ b/third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp
|
| @@ -497,7 +497,7 @@ void AutoplayExperimentHelper::loadingStarted()
|
|
|
| bool AutoplayExperimentHelper::requiresViewportVisibility() const
|
| {
|
| - return enabled(IfViewport) || enabled(IfPartialViewport);
|
| + return client().isHTMLVideoElement() && (enabled(IfViewport) || enabled(IfPartialViewport));
|
| }
|
|
|
| bool AutoplayExperimentHelper::isExperimentEnabled()
|
|
|