| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| index 250d5f3bc77fb574019d6cef6ac613ce42b0c8f5..8b75753a5e6a9f903185f9613587cba16f541642 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| @@ -1131,14 +1131,10 @@ private:
|
| // tabs.
|
| ScopedNSAnimationContextGroup subAnimationGroup(animate);
|
| subAnimationGroup.SetCurrentContextDuration(kAnimationDuration);
|
| - // -[NSAnimationContext setCompletionHandler:] is only available on
|
| - // 10.7 and higher.
|
| - if (base::mac::IsOSLionOrLater()) {
|
| - NSView* tabView = [tab view];
|
| - [[NSAnimationContext currentContext] setCompletionHandler:^{
|
| - [tabView setNeedsDisplay:YES];
|
| - }];
|
| - }
|
| + NSView* tabView = [tab view];
|
| + [[NSAnimationContext currentContext] setCompletionHandler:^{
|
| + [tabView setNeedsDisplay:YES];
|
| + }];
|
|
|
| [frameTarget setFrame:tabFrame];
|
| [targetFrames_ setObject:[NSValue valueWithRect:tabFrame]
|
|
|