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

Unified Diff: ui/gfx/image/image_skia_operations.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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/gfx/harfbuzz_font_skia.cc ('k') | ui/gfx/nine_image_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia_operations.cc
diff --git a/ui/gfx/image/image_skia_operations.cc b/ui/gfx/image/image_skia_operations.cc
index 383623515779eeec0d85494df9ad7216c27f2f4c..fe26aa7eedaadc658d56fcabfb4d5599a994627a 100644
--- a/ui/gfx/image/image_skia_operations.cc
+++ b/ui/gfx/image/image_skia_operations.cc
@@ -410,7 +410,7 @@ class HorizontalShadowSource : public CanvasImageSource {
// CanvasImageSource overrides:
void Draw(Canvas* canvas) override {
- SkPaint paint;
+ CdlPaint paint;
paint.setLooper(CreateShadowDrawLooperCorrectBlur(shadows_));
canvas->DrawRect(RectF(0, fades_down_ ? -1 : size().height(), 1, 1), paint);
}
« no previous file with comments | « ui/gfx/harfbuzz_font_skia.cc ('k') | ui/gfx/nine_image_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698