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

Unified Diff: content/renderer/media/peer_connection_handler_jsep.cc

Issue 10383151: Refactor MediaStreamImpl and PeerConnection glue implementation after WebKit changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/peer_connection_handler_jsep.cc
diff --git a/content/renderer/media/peer_connection_handler_jsep.cc b/content/renderer/media/peer_connection_handler_jsep.cc
index b524abe9487d91168b409fce22e107d9a39155a9..21ebe31ddf1bc5a6f3e60ee03302b4ca382a6c87 100644
--- a/content/renderer/media/peer_connection_handler_jsep.cc
+++ b/content/renderer/media/peer_connection_handler_jsep.cc
@@ -24,9 +24,8 @@
PeerConnectionHandlerJsep::PeerConnectionHandlerJsep(
WebKit::WebPeerConnection00HandlerClient* client,
- MediaStreamImpl* msi,
MediaStreamDependencyFactory* dependency_factory)
- : PeerConnectionHandlerBase(msi, dependency_factory),
+ : PeerConnectionHandlerBase(dependency_factory),
client_(client) {
}
@@ -183,11 +182,8 @@ void PeerConnectionHandlerJsep::removeStream(
}
void PeerConnectionHandlerJsep::stop() {
- // TODO(ronghuawu): There's an issue with signaling messages being sent during
- // close. We need to investigate further. Not calling Close() on native
- // PeerConnection is OK for now.
+ DVLOG(1) << "PeerConnectionHandlerJsep::stop";
native_peer_connection_ = NULL;
- media_stream_impl_->ClosePeerConnection(this);
}
void PeerConnectionHandlerJsep::OnError() {

Powered by Google App Engine
This is Rietveld 408576698