Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
index c5d03d4a3f4bc31cb1f5fa3bdf5a362df949b100..b49d0db82178ac5dc17588a7d1479b5d72992c30 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc |
@@ -89,6 +89,8 @@ using WebKit::WebIDBKeyPath; |
using WebKit::WebKitPlatformSupport; |
using WebKit::WebMediaStreamCenter; |
using WebKit::WebMediaStreamCenterClient; |
+using WebKit::WebPeerConnection00Handler; |
+using WebKit::WebPeerConnection00HandlerClient; |
using WebKit::WebPeerConnectionHandler; |
using WebKit::WebPeerConnectionHandlerClient; |
using WebKit::WebSerializedScriptValue; |
@@ -726,6 +728,18 @@ RendererWebKitPlatformSupportImpl::createPeerConnectionHandler( |
return render_view->CreatePeerConnectionHandler(client); |
} |
+WebPeerConnection00Handler* |
+RendererWebKitPlatformSupportImpl::createPeerConnection00Handler( |
+ WebPeerConnection00HandlerClient* client) { |
+ WebFrame* web_frame = WebFrame::frameForCurrentContext(); |
+ if (!web_frame) |
+ return NULL; |
+ RenderViewImpl* render_view = RenderViewImpl::FromWebView(web_frame->view()); |
+ if (!render_view) |
+ return NULL; |
+ return render_view->CreatePeerConnectionHandlerJsep(client); |
+} |
+ |
//------------------------------------------------------------------------------ |
WebMediaStreamCenter* |