Index: Source/modules/presentation/Presentation.cpp |
diff --git a/Source/modules/presentation/Presentation.cpp b/Source/modules/presentation/Presentation.cpp |
index 6ef6307c8934a53802f313219dcca8a74892fc89..ae2a5b2866a5bb3cc93786753c5e8cc3a8cd87d0 100644 |
--- a/Source/modules/presentation/Presentation.cpp |
+++ b/Source/modules/presentation/Presentation.cpp |
@@ -170,6 +170,24 @@ void Presentation::didReceiveSessionTextMessage(WebPresentationSessionClient* se |
PresentationSession::dispose(sessionClient); |
} |
+void Presentation::didReceiveSessionArrayBufferMessage(WebPresentationSessionClient* sessionClient, const uint8_t* data, size_t length) |
+{ |
+ PresentationSession* session = findSession(sessionClient); |
+ if (session) |
+ session->didReceiveArrayBufferMessage(data, length); |
+ |
+ PresentationSession::dispose(sessionClient); |
+} |
+ |
+void Presentation::didReceiveSessionBlobMessage(WebPresentationSessionClient* sessionClient, const uint8_t* data, size_t length) |
+{ |
+ PresentationSession* session = findSession(sessionClient); |
+ if (session) |
+ session->didReceiveBlobMessage(data, length); |
+ |
+ PresentationSession::dispose(sessionClient); |
+} |
+ |
void Presentation::registerSession(PresentationSession* session) |
{ |
m_openSessions.add(session); |