Chromium Code Reviews| Index: Source/modules/presentation/PresentationController.cpp |
| diff --git a/Source/modules/presentation/PresentationController.cpp b/Source/modules/presentation/PresentationController.cpp |
| index f3b84a851d2e7ff9ebbf9450b42bd90eadd44cde..dee985a8ac41c40966fd5ee80463e467cf66e659 100644 |
| --- a/Source/modules/presentation/PresentationController.cpp |
| +++ b/Source/modules/presentation/PresentationController.cpp |
| @@ -102,6 +102,14 @@ void PresentationController::didReceiveSessionTextMessage(WebPresentationSession |
| PresentationSession::dispose(sessionClient); |
| } |
| +void PresentationController::didReceiveSessionBinaryMessage(WebPresentationSessionClient* sessionClient, const uint8_t* data, size_t length) |
| +{ |
| + if (m_presentation) |
| + m_presentation->didReceiveSessionBinaryMessage(sessionClient, data, length); |
| + else |
| + PresentationSession::dispose(sessionClient); |
|
mark a. foltz
2015/07/06 21:19:45
Please refactor to use the form suggested in https
USE s.singapati at gmail.com
2015/07/07 15:00:33
Done.
|
| +} |
| + |
| void PresentationController::startSession(const String& presentationUrl, const String& presentationId, WebPresentationSessionClientCallbacks* callbacks) |
| { |
| if (!m_client) { |