Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: ui/views/controls/tree/tree_view_win.cc

Issue 9705063: ui/gfx: Rename almost all entries from gfx::CanvasSkia to gfx::Canvas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/tree/tree_view_views.cc ('k') | ui/views/examples/text_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/views/controls/tree/tree_view_views.cc ('k') | ui/views/examples/text_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698