Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index 3c7548935305386e698276f855914210ecb6b46f..01fcdd5565c1ad9e9dfbce2988853f9f382f65c5 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -441,10 +441,6 @@ class CONTENT_EXPORT RenderProcessHostImpl |
// RenderFrames. |
bool is_for_guests_only_; |
- // Forwards messages between WebRTCInternals in the browser process |
- // and PeerConnectionTracker in the renderer process. |
- scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; |
- |
// Prevents the class from being added as a GpuDataManagerImpl observer more |
// than once. |
bool gpu_observer_registered_; |
@@ -479,6 +475,12 @@ class CONTENT_EXPORT RenderProcessHostImpl |
WebRTCEventLogHost webrtc_eventlog_host_; |
#endif |
+ // Forwards messages between WebRTCInternals in the browser process |
+ // and PeerConnectionTracker in the renderer process. |
+ // It holds a raw pointer to webrtc_eventlog_host_, and therefore should be |
+ // defined below it so it is destructed first. |
+ scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; |
+ |
int worker_ref_count_; |
// Records the time when the process starts surviving for workers for UMA. |