Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 10827136: Enable the creation of Mock WebRTCPeerConnection objects in DumpRenderTree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.cc
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index 7be160d3301ef5e5784d7a5ce1fd2e3c1f6ba098..1a98ab2d5c53c8151bdf79846c14b8ecf4d6c8e2 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);
}
« no previous file with comments | « webkit/support/test_webkit_platform_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698