summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-02 19:39:23 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-02 19:39:23 +0000
commiteea1667490d8197d27fb738182fdc49b6885ace6 (patch)
tree6030376783a91870a5cd9ff7e13f56232ff11f88 /remoting
parent217fb93c6fd3c94a32f659059d7b6a571343dab0 (diff)
downloadchromium_src-eea1667490d8197d27fb738182fdc49b6885ace6.zip
chromium_src-eea1667490d8197d27fb738182fdc49b6885ace6.tar.gz
chromium_src-eea1667490d8197d27fb738182fdc49b6885ace6.tar.bz2
Remove old DCHECK from ~PepperStreamChannel().
Now channel_ can be owned by the ChannelAuthenticator, so the assumption verified by this DCHECK is not valid anymore. BUG=105214 Review URL: http://codereview.chromium.org/8989068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116105 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/protocol/pepper_stream_channel.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/remoting/protocol/pepper_stream_channel.cc b/remoting/protocol/pepper_stream_channel.cc
index 48d3a33..477f9fa 100644
--- a/remoting/protocol/pepper_stream_channel.cc
+++ b/remoting/protocol/pepper_stream_channel.cc
@@ -50,8 +50,6 @@ PepperStreamChannel::PepperStreamChannel(
PepperStreamChannel::~PepperStreamChannel() {
session_->OnDeleteChannel(this);
- // Verify that the |channel_| is ether destroyed or we own it.
- DCHECK_EQ(channel_, owned_channel_.get());
// Channel should be already destroyed if we were connected.
DCHECK(!connected_ || channel_ == NULL);
}