Index: Source/web/UserMediaClientImpl.cpp |
diff --git a/Source/web/UserMediaClientImpl.cpp b/Source/web/UserMediaClientImpl.cpp |
index 31e2756d24734d1adcff022837b886f214e53a1e..6c9d678cce85080929555b6160ab1967b95f65b5 100644 |
--- a/Source/web/UserMediaClientImpl.cpp |
+++ b/Source/web/UserMediaClientImpl.cpp |
@@ -31,11 +31,11 @@ |
#include "config.h" |
#include "UserMediaClientImpl.h" |
+#include "WebMediaDevicesRequest.h" |
#include "WebUserMediaClient.h" |
#include "WebUserMediaRequest.h" |
#include "WebViewClient.h" |
#include "WebViewImpl.h" |
-#include "public/platform/WebMediaStreamSource.h" |
#include "wtf/RefPtr.h" |
using namespace WebCore; |
@@ -59,4 +59,16 @@ void UserMediaClientImpl::cancelUserMediaRequest(UserMediaRequest* request) |
m_client->cancelUserMediaRequest(WebUserMediaRequest(request)); |
} |
+void UserMediaClientImpl::requestMediaDevices(PassRefPtr<WebCore::MediaDevicesRequest> request) |
+{ |
+ if (m_client) |
+ m_client->requestMediaDevices(request); |
+} |
+ |
+void UserMediaClientImpl::cancelMediaDevicesRequest(WebCore::MediaDevicesRequest* request) |
+{ |
+ if (m_client) |
+ m_client->cancelMediaDevicesRequest(WebMediaDevicesRequest(request)); |
+} |
+ |
} // namespace blink |