Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 8bdd33bf65ab08aa89ff282a950ee781b2a7069f..e030c2b93a399d67511b32b8f24eabf3cddda32e 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -2468,4 +2468,9 @@ void Internals::forceRestrictIFramePermissions() |
RuntimeEnabledFeatures::setRestrictIFramePermissionsEnabled(true); |
} |
+void Internals::triggerAutoplayViewportCheck(HTMLMediaElement* element) |
+{ |
+ element->triggerAutoplayViewportCheck(); |
+} |
+ |
} // namespace blink |