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

Unified Diff: content/browser/renderer_host/p2p/socket_host.h

Issue 780713002: Fix remaining WeakPtrFactory ordering problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years 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_host.h
diff --git a/content/browser/renderer_host/p2p/socket_host.h b/content/browser/renderer_host/p2p/socket_host.h
index 390c115efb6aa1702d4d676d0cf1b90404cb571b..b569a0a10416072cd539cc647eea0c1264696ce1 100644
--- a/content/browser/renderer_host/p2p/socket_host.h
+++ b/content/browser/renderer_host/p2p/socket_host.h
@@ -160,8 +160,6 @@ class CONTENT_EXPORT P2PSocketHost {
bool dump_outgoing_rtp_packet_;
RenderProcessHost::WebRtcRtpPacketCallback packet_dump_callback_;
- base::WeakPtrFactory<P2PSocketHost> weak_ptr_factory_;
-
ProtocolType protocol_type_;
private:
@@ -175,6 +173,8 @@ class CONTENT_EXPORT P2PSocketHost {
int32 send_bytes_delayed_max_;
int32 send_bytes_delayed_cur_;
+ base::WeakPtrFactory<P2PSocketHost> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(P2PSocketHost);
};
« no previous file with comments | « content/browser/gamepad/gamepad_provider_unittest.cc ('k') | content/browser/renderer_host/p2p/socket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698