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

Unified Diff: content/browser/renderer_host/p2p/socket_dispatcher_host.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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
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 253475c9ed4ea444623bdd89aaef0223e1173ea5..f1249d51e891f0a93fcdde951fd6045ddf8e592f 100644
--- a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
+++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
@@ -191,7 +191,7 @@ void P2PSocketDispatcherHost::OnCreateSocket(
}
scoped_ptr<P2PSocketHost> socket(
- P2PSocketHost::Create(this, socket_id, type, url_context_));
+ P2PSocketHost::Create(this, socket_id, type, url_context_.get()));
if (!socket) {
Send(new P2PMsg_OnError(socket_id));

Powered by Google App Engine
This is Rietveld 408576698