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 605432eb76ca6b498aeefe8c6f12ed955b2280da..f35294abc278d3dc47fc3aabc63c5a9ecc07da5b 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]; |