| Index: chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_view.mm b/chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| index 27066e711e5d4c555d36fc460b79ea23ef583ce5..ea826ff8b463931d0e02afe74c6a1c385d8b300a 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| @@ -91,10 +91,9 @@ - (HoverCloseButton*)closeButton;
|
| }
|
| DCHECK(theSelector);
|
|
|
| - base::scoped_nsobject<NSCustomImageRep> imageRep =
|
| - [[NSCustomImageRep alloc]
|
| - initWithDrawSelector:theSelector
|
| - delegate:[TabView class]];
|
| + base::scoped_nsobject<NSCustomImageRep> imageRep([[NSCustomImageRep alloc]
|
| + initWithDrawSelector:theSelector
|
| + delegate:[TabView class]]);
|
|
|
| NSImage* newTabButtonImage =
|
| [[[NSImage alloc] initWithSize:NSMakeSize(imageWidth, 29)] autorelease];
|
|
|