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

Unified Diff: ash/app_list/drop_shadow_label.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 | « no previous file | ash/launcher/launcher_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/drop_shadow_label.cc
diff --git a/ash/app_list/drop_shadow_label.cc b/ash/app_list/drop_shadow_label.cc
index 169890f0c520d2c34f6131a5f4f93ba157565c52..de1c90ffbaa240160dc2812f12ac68e7381629f4 100644
--- a/ash/app_list/drop_shadow_label.cc
+++ b/ash/app_list/drop_shadow_label.cc
@@ -40,7 +40,7 @@ void DropShadowLabel::PaintText(gfx::Canvas* canvas,
// when transfering contents on this canvas to target canvas.
gfx::Size canvas_size(text_bounds.width() + drop_shadow_size_,
text_bounds.height() + drop_shadow_size_);
- gfx::CanvasSkia text_canvas(canvas_size, false);
+ gfx::Canvas text_canvas(canvas_size, false);
const double kShadowOpacity = 0.2;
const SkColor shadow_color =
@@ -84,7 +84,7 @@ void DropShadowLabel::PaintText(gfx::Canvas* canvas,
SkPaint paint;
paint.setShader(s)->unref();
- gfx::CanvasSkia alpha_canvas(canvas_size, false);
+ gfx::Canvas alpha_canvas(canvas_size, false);
alpha_canvas.DrawRect(gfx::Rect(canvas_size), paint);
const SkBitmap& alpha_bitmap = const_cast<SkBitmap&>(
« no previous file with comments | « no previous file | ash/launcher/launcher_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698