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

Unified Diff: ui/views/controls/button/label_button_border.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/views/controls/button/checkbox.cc ('k') | ui/views/controls/button/radio_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/label_button_border.cc
diff --git a/ui/views/controls/button/label_button_border.cc b/ui/views/controls/button/label_button_border.cc
index a5116d0edc2c822f67a1854fe87ca4c36314f143..cc6e983ef4596d7425d46ad2d6f6fd7df7ccb608 100644
--- a/ui/views/controls/button/label_button_border.cc
+++ b/ui/views/controls/button/label_button_border.cc
@@ -154,10 +154,10 @@ void LabelButtonAssetBorder::Paint(const View& view, gfx::Canvas* canvas) {
}
// Then modulate the foreground by alpha, and blend using kPlus_Mode.
- cc::PaintFlags paint;
- paint.setAlpha(fg_alpha);
- paint.setBlendMode(SkBlendMode::kPlus);
- canvas->sk_canvas()->saveLayer(&sk_rect, &paint);
+ cc::PaintFlags flags;
+ flags.setAlpha(fg_alpha);
+ flags.setBlendMode(SkBlendMode::kPlus);
+ canvas->sk_canvas()->saveLayer(&sk_rect, &flags);
state = native_theme_delegate->GetForegroundThemeState(&extra);
PaintHelper(this, canvas, state, rect, extra);
} else {
« no previous file with comments | « ui/views/controls/button/checkbox.cc ('k') | ui/views/controls/button/radio_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698