Index: views/controls/tree/tree_view.cc |
=================================================================== |
--- views/controls/tree/tree_view.cc (revision 86706) |
+++ views/controls/tree/tree_view.cc (working copy) |
@@ -755,7 +755,7 @@ |
if (canvas.isEmpty()) |
return 0; |
- HDC dc = canvas.beginPlatformPaint(); |
+ HDC dc = skia::BeginPlatformPaint(&canvas); |
if (base::i18n::IsRTL()) { |
// gfx::CanvasSkia ends up configuring the DC with a mode of |
// GM_ADVANCED. For some reason a graphics mode of ADVANCED triggers |
@@ -789,7 +789,7 @@ |
// over we copy the right bits. |
SetViewportOrgEx(dc, 0, 0, NULL); |
} |
- canvas.endPlatformPaint(); |
+ skia::EndPlatformPaint(&canvas); |
return 0; |
} |