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

Unified Diff: content/renderer/media/rtc_peer_connection_handler.h

Issue 292163002: Destroy all rtc peer connection handlers before shutting down blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 years, 7 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/media/rtc_peer_connection_handler.h
diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h
index 734c329388f1743b9237a763f8bb7f34eb0119e2..2a90358fa0b9c6fba3b5c0fb1912b8bcb8092c47 100644
--- a/content/renderer/media/rtc_peer_connection_handler.h
+++ b/content/renderer/media/rtc_peer_connection_handler.h
@@ -88,6 +88,9 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
PeerConnectionDependencyFactory* dependency_factory);
virtual ~RTCPeerConnectionHandler();
+ // Destroy all existing RTCPeerConnectionHandler objects.
+ static void DestructAllHandlers();
+
void associateWithFrame(blink::WebFrame* frame);
// Initialize method only used for unit test.
« no previous file with comments | « no previous file | content/renderer/media/rtc_peer_connection_handler.cc » ('j') | content/renderer/render_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698