| Index: ui/views/controls/tree/tree_view_win.cc
|
| diff --git a/ui/views/controls/tree/tree_view_win.cc b/ui/views/controls/tree/tree_view_win.cc
|
| index f2efc51901176ebd2525df0aa7ed6529fa3c3538..0547f6a91296f81d675f2102d15bdf9842764a9d 100644
|
| --- a/ui/views/controls/tree/tree_view_win.cc
|
| +++ b/ui/views/controls/tree/tree_view_win.cc
|
| @@ -694,7 +694,7 @@ HIMAGELIST TreeView::CreateImageList() {
|
| // IDR_FOLDER_CLOSED if they aren't already.
|
| if (model_images[i].width() != width ||
|
| model_images[i].height() != height) {
|
| - gfx::CanvasSkia canvas(gfx::Size(width, height), false);
|
| + gfx::Canvas canvas(gfx::Size(width, height), false);
|
|
|
| // Draw our icons into this canvas.
|
| int height_offset = (height - model_images[i].height()) / 2;
|
| @@ -749,7 +749,7 @@ LRESULT CALLBACK TreeView::TreeWndProc(HWND window,
|
|
|
| HDC dc = skia::BeginPlatformPaint(canvas.sk_canvas());
|
| if (base::i18n::IsRTL()) {
|
| - // gfx::CanvasSkia ends up configuring the DC with a mode of
|
| + // gfx::Canvas ends up configuring the DC with a mode of
|
| // GM_ADVANCED. For some reason a graphics mode of ADVANCED triggers
|
| // all the text to be mirrored when RTL. Set the mode back to COMPATIBLE
|
| // and explicitly set the layout. Additionally SetWorldTransform and
|
|
|