summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 14:39:31 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 14:39:31 +0000
commit499d90448e2bdcff7583c20a4cd483f963b39463 (patch)
treecf79f0d503a6c0096573f2d5635b1ac047f0caa0 /chrome
parentb1df1b72bd8db3c45fa8be32773765f8ee8701a3 (diff)
downloadchromium_src-499d90448e2bdcff7583c20a4cd483f963b39463.zip
chromium_src-499d90448e2bdcff7583c20a4cd483f963b39463.tar.gz
chromium_src-499d90448e2bdcff7583c20a4cd483f963b39463.tar.bz2
Removes bogus DCHECK in ConfirmInfoBar::ButtonPressed. The DCHECK is
bogus as InfoBar adds a button that invokes this method as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/53034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/infobars/infobars.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/views/infobars/infobars.cc b/chrome/browser/views/infobars/infobars.cc
index 91111e0..63916bb 100644
--- a/chrome/browser/views/infobars/infobars.cc
+++ b/chrome/browser/views/infobars/infobars.cc
@@ -431,8 +431,6 @@ void ConfirmInfoBar::ButtonPressed(views::Button* sender) {
} else if (sender == cancel_button_) {
if (GetDelegate()->Cancel())
RemoveInfoBar();
- } else {
- NOTREACHED();
}
}