summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_view.mm
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 01:32:52 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 01:32:52 +0000
commita824cf3dd780792350143fe4a42e52a73f5f80d7 (patch)
tree63b7fd57947a06310a690d410aae68b582e674f1 /chrome/browser/cocoa/tab_view.mm
parentd948e67ddce653d0a151ed7de729cd0f0a84e0d2 (diff)
downloadchromium_src-a824cf3dd780792350143fe4a42e52a73f5f80d7.zip
chromium_src-a824cf3dd780792350143fe4a42e52a73f5f80d7.tar.gz
chromium_src-a824cf3dd780792350143fe4a42e52a73f5f80d7.tar.bz2
Get rid of DCHECK that was firing. The check itself is not
completely necessary, and as it turns out we don't always get matching exit/enter events. TEST=none BUG=none Review URL: http://codereview.chromium.org/395025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_view.mm')
-rw-r--r--chrome/browser/cocoa/tab_view.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tab_view.mm b/chrome/browser/cocoa/tab_view.mm
index 50e333c..24495b7 100644
--- a/chrome/browser/cocoa/tab_view.mm
+++ b/chrome/browser/cocoa/tab_view.mm
@@ -111,7 +111,6 @@ static const NSTimeInterval kAnimationHideDuration = 0.4;
// to the |closeButton_| view, but |self| will handle the messages.
// The mouseover is always enabled, because the close button works
// regardless of key/main/active status.
- DCHECK(closeTrackingArea_.get() == nil);
closeTrackingArea_.reset(
[[NSTrackingArea alloc] initWithRect:[closeButton_ bounds]
options:NSTrackingMouseEnteredAndExited |