| Index: ui/gfx/canvas_skia_mac.mm
|
| ===================================================================
|
| --- ui/gfx/canvas_skia_mac.mm (revision 86628)
|
| +++ ui/gfx/canvas_skia_mac.mm (working copy)
|
| @@ -48,8 +48,7 @@
|
| if (!IntersectsClipRectInt(x, y, w, h))
|
| return;
|
|
|
| - skia::ScopedPlatformPaint scoped_platform_paint(this);
|
| - CGContextRef context = scoped_platform_paint.GetPlatformSurface();
|
| + CGContextRef context = beginPlatformPaint();
|
| CGContextSaveGState(context);
|
|
|
| NSColor* ns_color = [NSColor colorWithDeviceRed:SkColorGetR(color) / 255.0
|
| @@ -84,6 +83,7 @@
|
| CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, NULL));
|
| CTFrameDraw(frame, context);
|
| CGContextRestoreGState(context);
|
| + endPlatformPaint();
|
| }
|
|
|
| ui::TextureID CanvasSkia::GetTextureID() {
|
|
|