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

Unified Diff: ash/touch/touch_hud_debug.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/sticky_keys/sticky_keys_overlay.cc ('k') | ash/touch_hud/touch_hud_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_hud_debug.cc
diff --git a/ash/touch/touch_hud_debug.cc b/ash/touch/touch_hud_debug.cc
index 5f1bfc7c8816a4acd7c98c1128d86b4565dc29fb..220ee5f67e75579ba1908a09d9f348f6711840f7 100644
--- a/ash/touch/touch_hud_debug.cc
+++ b/ash/touch/touch_hud_debug.cc
@@ -241,7 +241,7 @@ class TouchHudCanvas : public views::View {
SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
- paint_.setStyle(cc::PaintFlags::kFill_Style);
+ flags_.setStyle(cc::PaintFlags::kFill_Style);
}
~TouchHudCanvas() override {}
@@ -299,12 +299,12 @@ class TouchHudCanvas : public views::View {
for (int i = 0; i < kMaxPaths; ++i) {
if (paths_[i].countPoints() == 0)
continue;
- paint_.setColor(colors_[i]);
- canvas->DrawPath(paths_[i], paint_);
+ flags_.setColor(colors_[i]);
+ canvas->DrawPath(paths_[i], flags_);
}
}
- cc::PaintFlags paint_;
+ cc::PaintFlags flags_;
const TouchLog& touch_log_;
SkPath paths_[kMaxPaths];
« no previous file with comments | « ash/sticky_keys/sticky_keys_overlay.cc ('k') | ash/touch_hud/touch_hud_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698