summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 19:00:26 +0000
committerlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 19:00:26 +0000
commit89a79ef49b97f26e15f5e22bdb2a63494bce1cff (patch)
tree9759c750fd13f4f791533ede24657f8f893d724f /remoting
parent4695b4ecab2187af6259324e7fdf039462498570 (diff)
downloadchromium_src-89a79ef49b97f26e15f5e22bdb2a63494bce1cff.zip
chromium_src-89a79ef49b97f26e15f5e22bdb2a63494bce1cff.tar.gz
chromium_src-89a79ef49b97f26e15f5e22bdb2a63494bce1cff.tar.bz2
Remove DCHECK from HeartbeatSender::OnSignallingDisconnected()
Allow that method to be called without a corresponding call to OnSignalConnected() - the linked bug-report explains how this can happen. This is only a partial bug-fix; still need to address the problem of this method being called on the wrong thread from ChromotingHost::Shutdown(). BUG=83788 TEST=Manual Review URL: http://codereview.chromium.org/7307031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/heartbeat_sender.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
index ad87658..7f69129 100644
--- a/remoting/host/heartbeat_sender.cc
+++ b/remoting/host/heartbeat_sender.cc
@@ -81,7 +81,6 @@ void HeartbeatSender::OnSignallingConnected(SignalStrategy* signal_strategy,
void HeartbeatSender::OnSignallingDisconnected() {
DCHECK_EQ(MessageLoop::current(), message_loop_);
- DCHECK_EQ(state_, STARTED);
state_ = STOPPED;
request_.reset(NULL);
}