Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 97c67e97f9681154bdc4bcdccef101d4a03609bd..652560c98150c7e003a171f468e07b3aec0f589b 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); |