Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
index d6a80c4506f8367b85a0084a0112bff9ca767979..630dc78cb5c97abab520940be4c443eb15ec0b84 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc |
@@ -1159,7 +1159,7 @@ void PepperPluginDelegateImpl::UnregisterHostResolver(uint32 host_resolver_id) { |
bool PepperPluginDelegateImpl::AddNetworkListObserver( |
webkit_glue::NetworkListObserver* observer) { |
-#if defined(ENABLE_P2P_APIS) |
+#if defined(ENABLE_WEBRTC) |
P2PSocketDispatcher* socket_dispatcher = |
render_view_->p2p_socket_dispatcher(); |
if (!socket_dispatcher) { |
@@ -1174,7 +1174,7 @@ bool PepperPluginDelegateImpl::AddNetworkListObserver( |
void PepperPluginDelegateImpl::RemoveNetworkListObserver( |
webkit_glue::NetworkListObserver* observer) { |
-#if defined(ENABLE_P2P_APIS) |
+#if defined(ENABLE_WEBRTC) |
P2PSocketDispatcher* socket_dispatcher = |
render_view_->p2p_socket_dispatcher(); |
if (socket_dispatcher) |