Change RtcDataChannel to release the channel and free the observer
commit1354ead075dd9b41f4a415d8b2fd9820416d26b1
authortommi <tommi@chromium.org>
Sun, 23 Nov 2014 17:38:49 +0000 (23 09:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Sun, 23 Nov 2014 17:39:10 +0000 (23 17:39 +0000)
tree3d118be3a58854e888d4055ed9dff5fef281c149
parent8422d6e0caeed7e30fc246bad8e03da4164a9d4b
Change RtcDataChannel to release the channel and free the observer
when WebKit no longer needs the datachannel.

Based on http://crrev.com/748783002

BUG=434972

Review URL: https://codereview.chromium.org/747323002

Cr-Commit-Position: refs/heads/master@{#305390}
content/renderer/media/rtc_data_channel_handler.cc
content/renderer/media/rtc_data_channel_handler.h
content/renderer/media/rtc_peer_connection_handler_unittest.cc