diff options
Diffstat (limited to 'views/controls/tree/tree_view.cc')
-rw-r--r-- | views/controls/tree/tree_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/tree/tree_view.cc b/views/controls/tree/tree_view.cc index db75226..c084803 100644 --- a/views/controls/tree/tree_view.cc +++ b/views/controls/tree/tree_view.cc @@ -755,7 +755,7 @@ LRESULT CALLBACK TreeView::TreeWndProc(HWND window, 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 @@ LRESULT CALLBACK TreeView::TreeWndProc(HWND window, // over we copy the right bits. SetViewportOrgEx(dc, 0, 0, NULL); } - canvas.endPlatformPaint(); + skia::EndPlatformPaint(&canvas); return 0; } |