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

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

Issue 2733363002: Update last few users of deprecated CreateShadowDrawLooper and remove (Closed)
Patch Set: Created 3 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/app_list/app_list_constants.cc ('k') | ui/gfx/render_text.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 f469b3c8913c2c4186b27caea32a9c503f30d49b..f48d2e1b9c954cfbdda0e4cfaa1c0b6eb3b917a0 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 {
cc::PaintFlags flags;
- flags.setLooper(CreateShadowDrawLooperCorrectBlur(shadows_));
+ flags.setLooper(CreateShadowDrawLooper(shadows_));
canvas->DrawRect(RectF(0, fades_down_ ? -1 : size().height(), 1, 1), flags);
}
« no previous file with comments | « ui/app_list/app_list_constants.cc ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698