| Index: content/renderer/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
|
| index 1b1acf7c0ffa1fbf7a6ed0cf60df36ca6bf1b332..f13dc34b8b6ce6d0a1215194470fe03d4214d087 100644
|
| --- a/content/renderer/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper_plugin_delegate_impl.cc
|
| @@ -1180,5 +1180,9 @@ P2PSocketDispatcher* PepperPluginDelegateImpl::GetP2PSocketDispatcher() {
|
| }
|
|
|
| webkit_glue::P2PTransport* PepperPluginDelegateImpl::CreateP2PTransport() {
|
| +#if defined(ENABLE_P2P_APIS)
|
| return new P2PTransportImpl(render_view_->p2p_socket_dispatcher());
|
| +#else
|
| + return NULL;
|
| +#endif
|
| }
|
|
|