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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
index 0b5da73fdfc6306de20a2d17d59ac86407cfc968..c43de77b699ba9b1255242a3cfcb6f535979335f 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
@@ -1354,7 +1354,7 @@ void RTCPeerConnection::didAddRemoteDataChannel(
}
void RTCPeerConnection::releasePeerConnectionHandler() {
- stop();
+ contextDestroyed();
}
void RTCPeerConnection::closePeerConnection() {
@@ -1378,7 +1378,7 @@ void RTCPeerConnection::resume() {
m_dispatchScheduledEventRunner->resume();
}
-void RTCPeerConnection::stop() {
+void RTCPeerConnection::contextDestroyed() {
if (m_stopped)
return;

Powered by Google App Engine
This is Rietveld 408576698