diff options
Diffstat (limited to 'gfx/canvas_skia_mac.mm')
-rw-r--r-- | gfx/canvas_skia_mac.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/canvas_skia_mac.mm b/gfx/canvas_skia_mac.mm index f134eda..547a5e4 100644 --- a/gfx/canvas_skia_mac.mm +++ b/gfx/canvas_skia_mac.mm @@ -6,7 +6,7 @@ #include "gfx/canvas_skia.h" -#include "base/scoped_cftyperef.h" +#include "base/mac/scoped_cftyperef.h" #include "base/sys_string_conversions.h" #include "gfx/font.h" #include "gfx/rect.h" @@ -70,7 +70,7 @@ void CanvasSkia::DrawStringInt(const std::wstring& text, NSAttributedString* ns_string = [[[NSAttributedString alloc] initWithString:base::SysWideToNSString(text) attributes:attributes] autorelease]; - scoped_cftyperef<CTFramesetterRef> framesetter( + base::mac::ScopedCFTypeRef<CTFramesetterRef> framesetter( CTFramesetterCreateWithAttributedString( reinterpret_cast<CFAttributedStringRef>(ns_string))); @@ -78,7 +78,7 @@ void CanvasSkia::DrawStringInt(const std::wstring& text, CGMutablePathRef path = CGPathCreateMutable(); CGPathAddRect(path, NULL, text_bounds); - scoped_cftyperef<CTFrameRef> frame( + base::mac::ScopedCFTypeRef<CTFrameRef> frame( CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, NULL)); CTFrameDraw(frame, context); CGContextRestoreGState(context); |