summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/info_bubble_window.mm
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 19:40:00 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 19:40:00 +0000
commitd483d41e90d8ef9ea4200f4568eca274e6b0f613 (patch)
tree68314f0c0806ee38493f346466bfa3065df84314 /chrome/browser/cocoa/info_bubble_window.mm
parent0bedb8a46053e44f667da0e800568c38e2150e4a (diff)
downloadchromium_src-d483d41e90d8ef9ea4200f4568eca274e6b0f613.zip
chromium_src-d483d41e90d8ef9ea4200f4568eca274e6b0f613.tar.gz
chromium_src-d483d41e90d8ef9ea4200f4568eca274e6b0f613.tar.bz2
[Mac] Fixes issues with browser action popups.
o If you click on a browser action with a popup repeatedly and rapidly, the popups will "stick around." o If you click a browser action button with a popup already open, it should close the popup instead of opening it. TEST=none BUG=32161,31097 Review URL: http://codereview.chromium.org/548037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/info_bubble_window.mm')
-rw-r--r--chrome/browser/cocoa/info_bubble_window.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/info_bubble_window.mm b/chrome/browser/cocoa/info_bubble_window.mm
index 47fe38d..84ad0b4 100644
--- a/chrome/browser/cocoa/info_bubble_window.mm
+++ b/chrome/browser/cocoa/info_bubble_window.mm
@@ -106,7 +106,7 @@ const NSTimeInterval kOrderOutAnimationDuration = 0.15;
// Apply animations to hide self.
[NSAnimationContext beginGrouping];
[[NSAnimationContext currentContext]
- gtm_setDuration:kOrderOutAnimationDuration];
+ gtm_setDuration:kOrderOutAnimationDuration];
[[self animator] setAlphaValue:0.0];
[NSAnimationContext endGrouping];
}