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

Unified Diff: ash/sticky_keys/sticky_keys_overlay.cc

Issue 2679423002: ash: 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 | « ash/magnifier/partial_magnification_controller.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sticky_keys/sticky_keys_overlay.cc
diff --git a/ash/sticky_keys/sticky_keys_overlay.cc b/ash/sticky_keys/sticky_keys_overlay.cc
index 9e7e76ec505df63e8bf19bf49b0a737b13e439c5..2cbc2f01b27254c9673c5ee06ebe2d448fd6bdf5 100644
--- a/ash/sticky_keys/sticky_keys_overlay.cc
+++ b/ash/sticky_keys/sticky_keys_overlay.cc
@@ -157,10 +157,10 @@ StickyKeysOverlayView::StickyKeysOverlayView() {
StickyKeysOverlayView::~StickyKeysOverlayView() {}
void StickyKeysOverlayView::OnPaint(gfx::Canvas* canvas) {
- cc::PaintFlags paint;
- paint.setStyle(cc::PaintFlags::kFill_Style);
- paint.setColor(SkColorSetARGB(0xB3, 0x55, 0x55, 0x55));
- canvas->DrawRoundRect(GetLocalBounds(), 2, paint);
+ cc::PaintFlags flags;
+ flags.setStyle(cc::PaintFlags::kFill_Style);
+ flags.setColor(SkColorSetARGB(0xB3, 0x55, 0x55, 0x55));
+ canvas->DrawRoundRect(GetLocalBounds(), 2, flags);
views::View::OnPaint(canvas);
}
« no previous file with comments | « ash/magnifier/partial_magnification_controller.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698