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

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

Issue 2680943002: ui: Clean up naming of paint-related identifiers (Closed)
Patch Set: Created 3 years, 10 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/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 f4940be73b96774217de2a13d034c8aa908cb732..4f23d56012e3a830498e95e128b649f60fac4c65 100644
--- a/ui/gfx/image/image_skia_operations.cc
+++ b/ui/gfx/image/image_skia_operations.cc
@@ -409,9 +409,9 @@ class HorizontalShadowSource : public CanvasImageSource {
// CanvasImageSource overrides:
void Draw(Canvas* canvas) override {
- cc::PaintFlags paint;
- paint.setLooper(CreateShadowDrawLooperCorrectBlur(shadows_));
- canvas->DrawRect(RectF(0, fades_down_ ? -1 : size().height(), 1, 1), paint);
+ cc::PaintFlags flags;
+ flags.setLooper(CreateShadowDrawLooperCorrectBlur(shadows_));
+ canvas->DrawRect(RectF(0, fades_down_ ? -1 : size().height(), 1, 1), flags);
}
private:
« 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