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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2143013003: Fix for crash in PeerConnectionTrackerHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698