summaryrefslogtreecommitdiffstats
path: root/remoting/protocol
diff options
context:
space:
mode:
authordcaiafa@chromium.org <dcaiafa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-18 00:25:21 +0000
committerdcaiafa@chromium.org <dcaiafa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-18 00:25:21 +0000
commit55217f6387d9b47ab6f48fc86083a11b1df23e27 (patch)
tree5d2c6554599e38aa8f9c1646ae6578458f82cc8f /remoting/protocol
parent55bc01665355632d3daf199547e7e9b961b8ab1b (diff)
downloadchromium_src-55217f6387d9b47ab6f48fc86083a11b1df23e27.zip
chromium_src-55217f6387d9b47ab6f48fc86083a11b1df23e27.tar.gz
chromium_src-55217f6387d9b47ab6f48fc86083a11b1df23e27.tar.bz2
Remove erroneous DCHECK from KeyEventTracker
Remove DCHECK from KeyEventTracker's destructor that erroneously asserted that the pressed_keys_ set had to be empty before the plugin shutdowns. This DCHECK would fire under valid conditions, e.g. if one would close the browser window while holding down a key. BUG=114790 Review URL: http://codereview.chromium.org/9425011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol')
-rw-r--r--remoting/protocol/key_event_tracker.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/protocol/key_event_tracker.cc b/remoting/protocol/key_event_tracker.cc
index a2aa836..d1835a0 100644
--- a/remoting/protocol/key_event_tracker.cc
+++ b/remoting/protocol/key_event_tracker.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,7 +15,6 @@ KeyEventTracker::KeyEventTracker(InputStub* input_stub)
}
KeyEventTracker::~KeyEventTracker() {
- DCHECK(pressed_keys_.empty());
}
void KeyEventTracker::InjectKeyEvent(const KeyEvent& event) {