Index: Source/modules/presentation/Presentation.cpp |
diff --git a/Source/modules/presentation/Presentation.cpp b/Source/modules/presentation/Presentation.cpp |
index 0daecf49acbf7e6e2c06281ee43b57d1580336cc..ac299cb0c6a1c7d747f0a1702dbfa55ac720dee6 100644 |
--- a/Source/modules/presentation/Presentation.cpp |
+++ b/Source/modules/presentation/Presentation.cpp |
@@ -152,6 +152,15 @@ void Presentation::didReceiveSessionTextMessage(WebPresentationSessionClient* se |
delete sessionClient; |
} |
+void Presentation::didReceiveSessionBinaryMessage(WebPresentationSessionClient* sessionClient, const uint8_t* data, size_t length) |
+{ |
+ PresentationSession* session = findSession(sessionClient); |
+ if (session) |
+ session->didReceiveBinaryMessage(data, length); |
+ |
+ delete sessionClient; |
+} |
+ |
void Presentation::registerSession(PresentationSession* session) |
{ |
m_openSessions.add(session); |