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

Unified Diff: content/renderer/p2p/host_address_request.cc

Issue 10917167: Refactor the P2PSocketDispatcher to be created on the RenderThread instead of the RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary destruction callback. Removed remaining routing_id. Created 8 years, 3 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/renderer/p2p/host_address_request.cc
diff --git a/content/renderer/p2p/host_address_request.cc b/content/renderer/p2p/host_address_request.cc
index 68aa4ff1eac57dc6c779c4b43f78431a77af7908..676361b89f3bed48f35440e0bed34c4d289de37e 100644
--- a/content/renderer/p2p/host_address_request.cc
+++ b/content/renderer/p2p/host_address_request.cc
@@ -53,7 +53,7 @@ void P2PHostAddressRequest::DoSendRequest(const std::string& host_name,
request_id_ = dispatcher_->RegisterHostAddressRequest(this);
registered_ = true;
dispatcher_->SendP2PMessage(
- new P2PHostMsg_GetHostAddress(0, host_name, request_id_));
+ new P2PHostMsg_GetHostAddress(host_name, request_id_));
}
void P2PHostAddressRequest::DoUnregister() {

Powered by Google App Engine
This is Rietveld 408576698