Index: content/browser/renderer_host/p2p/socket_dispatcher_host.cc |
diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc |
index 7c79711ef1e2527ee841b1e43f5314547dde292e..36b921067f65e0e525504992487cea2bf93a3b24 100644 |
--- a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc |
+++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc |
@@ -197,7 +197,7 @@ void P2PSocketDispatcherHost::OnCreateSocket( |
scoped_ptr<P2PSocketHost> socket( |
P2PSocketHost::Create(this, socket_id, type)); |
- if (!socket.get()) { |
+ if (!socket) { |
Send(new P2PMsg_OnError(socket_id)); |
return; |
} |