| Index: chrome/browser/ui/cocoa/tabpose_window.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabpose_window.mm b/chrome/browser/ui/cocoa/tabpose_window.mm
|
| index 339abd75cbfdd21b45a93b2d86b7434feb66fbf8..3eb6cf2ce85fbbbe6b9718b457143b4fe6cb3e01 100644
|
| --- a/chrome/browser/ui/cocoa/tabpose_window.mm
|
| +++ b/chrome/browser/ui/cocoa/tabpose_window.mm
|
| @@ -89,11 +89,11 @@ const CGFloat kSelectionInset = 5;
|
| }
|
|
|
| - (void)drawInContext:(CGContextRef)context {
|
| - base::mac::ScopedCFTypeRef<CGColorSpaceRef> grayColorSpace(
|
| + base::ScopedCFTypeRef<CGColorSpaceRef> grayColorSpace(
|
| CGColorSpaceCreateWithName(kCGColorSpaceGenericGray));
|
| CGFloat grays[] = { startGray_, 1.0, endGray_, 1.0 };
|
| CGFloat locations[] = { 0, 1 };
|
| - base::mac::ScopedCFTypeRef<CGGradientRef> gradient(
|
| + base::ScopedCFTypeRef<CGGradientRef> gradient(
|
| CGGradientCreateWithColorComponents(
|
| grayColorSpace.get(), grays, locations, arraysize(locations)));
|
| CGPoint topLeft = CGPointMake(0.0, self.bounds.size.height);
|
| @@ -120,7 +120,7 @@ class ThumbnailLoader;
|
|
|
| // If the backing store couldn't be used and a thumbnail was returned from a
|
| // renderer process, it's stored in |thumbnail_|.
|
| - base::mac::ScopedCFTypeRef<CGImageRef> thumbnail_;
|
| + base::ScopedCFTypeRef<CGImageRef> thumbnail_;
|
|
|
| // True if the layer already sent a thumbnail request to a renderer.
|
| BOOL didSendLoad_;
|
| @@ -1031,7 +1031,7 @@ void AnimateCALayerOpacityFromTo(
|
| NSFont* font = [NSFont systemFontOfSize:tile.title_font_size()];
|
| tile.set_font_metrics([font ascender], -[font descender]);
|
|
|
| - base::mac::ScopedCFTypeRef<CGImageRef> favicon(
|
| + base::ScopedCFTypeRef<CGImageRef> favicon(
|
| base::mac::CopyNSImageToCGImage(tile.favicon()));
|
|
|
| CALayer* faviconLayer = [CALayer layer];
|
|
|