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

Unified Diff: ui/views/bubble/tray_bubble_view.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/bubble/bubble_border.cc ('k') | ui/views/color_chooser/color_chooser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/tray_bubble_view.cc
diff --git a/ui/views/bubble/tray_bubble_view.cc b/ui/views/bubble/tray_bubble_view.cc
index 4aa577ac300fbee463782e13908f6d9a83ee3cf7..3d7a93eecae09d4b4d6f03ab71aef2e27a33c54c 100644
--- a/ui/views/bubble/tray_bubble_view.cc
+++ b/ui/views/bubble/tray_bubble_view.cc
@@ -113,11 +113,11 @@ TrayBubbleContentMask::~TrayBubbleContentMask() {
void TrayBubbleContentMask::OnPaintLayer(const ui::PaintContext& context) {
ui::PaintRecorder recorder(context, layer()->size());
- cc::PaintFlags paint;
- paint.setAlpha(255);
- paint.setStyle(cc::PaintFlags::kFill_Style);
+ cc::PaintFlags flags;
+ flags.setAlpha(255);
+ flags.setStyle(cc::PaintFlags::kFill_Style);
gfx::Rect rect(layer()->bounds().size());
- recorder.canvas()->DrawRoundRect(rect, corner_radius_, paint);
+ recorder.canvas()->DrawRoundRect(rect, corner_radius_, flags);
}
void TrayBubbleContentMask::OnDeviceScaleFactorChanged(
« no previous file with comments | « ui/views/bubble/bubble_border.cc ('k') | ui/views/color_chooser/color_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698