Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index da85cf3e4c222a6fe0808ffef21773a8e956ca21..aa2334c2e2fd93da12b66f3307ee432bf5ff76a1 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -2480,4 +2480,9 @@ bool Internals::setScrollbarVisibilityInScrollableArea(Node* node, bool visible) |
return animator->setScrollbarsVisibleForTesting(visible); |
} |
+void Internals::triggerAutoplayVisibilityCheck(HTMLMediaElement* element) |
+{ |
+ element->visibilityTimerFired(0); |
+} |
+ |
} // namespace blink |