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

Unified Diff: ash/common/system/tray/tray_details_view.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/common/system/tray/tray_background_view.cc ('k') | ash/common/system/user/rounded_image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_details_view.cc
diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc
index 1b1b6f9b4d88e38f3fe7d7281f81fc28cb893955..efff1f3d130aacf6064abbb23cb6ecaab28dfee1 100644
--- a/ash/common/system/tray/tray_details_view.cc
+++ b/ash/common/system/tray/tray_details_view.cc
@@ -216,14 +216,14 @@ class ScrollContentsView : public views::View {
const gfx::Rect& shadowed_area) {
ui::PaintRecorder recorder(context, size());
gfx::Canvas* canvas = recorder.canvas();
- cc::PaintFlags paint;
+ cc::PaintFlags flags;
gfx::ShadowValues shadow;
shadow.emplace_back(gfx::Vector2d(0, kShadowOffsetY), kShadowBlur,
kSeparatorColor);
- paint.setLooper(gfx::CreateShadowDrawLooperCorrectBlur(shadow));
- paint.setAntiAlias(true);
+ flags.setLooper(gfx::CreateShadowDrawLooperCorrectBlur(shadow));
+ flags.setAntiAlias(true);
canvas->ClipRect(shadowed_area, SkClipOp::kDifference);
- canvas->DrawRect(shadowed_area, paint);
+ canvas->DrawRect(shadowed_area, flags);
}
views::BoxLayout* box_layout_;
« no previous file with comments | « ash/common/system/tray/tray_background_view.cc ('k') | ash/common/system/user/rounded_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698