| Index: chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm (revision 143454)
|
| +++ chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm (working copy)
|
| @@ -424,7 +424,7 @@
|
| [[NSViewAnimation alloc]
|
| initWithViewAnimations:[NSArray arrayWithObjects:dict, nil]];
|
| [animation gtm_setDuration:duration
|
| - eventMask:NSLeftMouseUpMask];
|
| + eventMask:NSLeftMouseUpMask];
|
| [animation setDelegate:self];
|
| [animation startAnimation];
|
| return animation;
|
| @@ -507,6 +507,8 @@
|
| NSView* view = [self view];
|
| NSRect frame = [view frame];
|
| float x = [self findBarHorizontalPosition];
|
| + if (frame.origin.x == x)
|
| + return;
|
|
|
| if (animate) {
|
| [moveAnimation_ stopAnimation];
|
|
|