summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/support/test_webkit_platform_support.cc16
-rw-r--r--webkit/support/test_webkit_platform_support.h2
2 files changed, 15 insertions, 3 deletions
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index 7be160d..1a98ab2 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -506,7 +506,17 @@ TestWebKitPlatformSupport::createMediaStreamCenter(
WebKit::WebMediaStreamCenterClient* client) {
if (shadow_platform_delegate_)
return shadow_platform_delegate_->createMediaStreamCenter(client);
- else
- return webkit_glue::WebKitPlatformSupportImpl::createMediaStreamCenter(
- client);
+
+ return webkit_glue::WebKitPlatformSupportImpl::createMediaStreamCenter(
+ client);
+}
+
+WebKit::WebRTCPeerConnectionHandler*
+TestWebKitPlatformSupport::createRTCPeerConnectionHandler(
+ WebKit::WebRTCPeerConnectionHandlerClient* client) {
+ if (shadow_platform_delegate_)
+ return shadow_platform_delegate_->createRTCPeerConnectionHandler(client);
+
+ return webkit_glue::WebKitPlatformSupportImpl::createRTCPeerConnectionHandler(
+ client);
}
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h
index 0e04b96..e525f12 100644
--- a/webkit/support/test_webkit_platform_support.h
+++ b/webkit/support/test_webkit_platform_support.h
@@ -126,6 +126,8 @@ class TestWebKitPlatformSupport :
virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
+ virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
+ WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE;
private:
TestShellWebMimeRegistryImpl mime_registry_;