Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 07492b2185b2ff811fe99dc8d7760e4691208f83..4d905bdf4c91e233e7ac6516338196035415af08 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1768,6 +1768,14 @@ void Internals::mediaPlayerRemoteRouteAvailabilityChanged(HTMLMediaElement* medi |
mediaElement->remoteRouteAvailabilityChanged(available); |
} |
+void Internals::mediaPlayerPlayingRemotelyChanged(HTMLMediaElement* mediaElement, bool remote) |
+{ |
+ if (remote) |
+ mediaElement->connectedToRemoteDevice(); |
+ else |
+ mediaElement->disconnectedFromRemoteDevice(); |
+} |
+ |
void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) |
{ |
SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme); |