Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 3e5074860805fa5174536259abad2727578d82bb..f309af16ec40e6b3e069632c964a05dad4b6f5d7 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1861,6 +1861,12 @@ void Internals::mediaPlayerPlayingRemotelyChanged(HTMLMediaElement* mediaElement |
mediaElement->disconnectedFromRemoteDevice(); |
} |
+void Internals::setAllowHiddenAudioElements(HTMLMediaElement* mediaElement, bool allow) |
+{ |
+ ASSERT(mediaElement); |
+ mediaElement->setAllowHiddenAudioElements(allow); |
+} |
+ |
void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) |
{ |
SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); |