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

Unified Diff: apps/ui/views/app_window_frame_view.cc

Issue 2697663002: Clean up naming of paint-related identifiers (Closed)
Patch Set: Rebase 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 | « no previous file | chrome/browser/download/download_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/ui/views/app_window_frame_view.cc
diff --git a/apps/ui/views/app_window_frame_view.cc b/apps/ui/views/app_window_frame_view.cc
index 5e1fad960b7a37e4c1a6d3abeeaddce911be6f8a..a76075ef1185bd9cfb8b2b10fabd2ff28b7d2d66 100644
--- a/apps/ui/views/app_window_frame_view.cc
+++ b/apps/ui/views/app_window_frame_view.cc
@@ -305,17 +305,17 @@ void AppWindowFrameView::OnPaint(gfx::Canvas* canvas) {
SetButtonImagesForFrame();
// TODO(benwells): different look for inactive by default.
- cc::PaintFlags paint;
- paint.setAntiAlias(false);
- paint.setStyle(cc::PaintFlags::kFill_Style);
- paint.setColor(CurrentFrameColor());
+ cc::PaintFlags flags;
+ flags.setAntiAlias(false);
+ flags.setStyle(cc::PaintFlags::kFill_Style);
+ flags.setColor(CurrentFrameColor());
gfx::Path path;
path.moveTo(0, 0);
path.lineTo(width(), 0);
path.lineTo(width(), kCaptionHeight);
path.lineTo(0, kCaptionHeight);
path.close();
- canvas->DrawPath(path, paint);
+ canvas->DrawPath(path, flags);
}
const char* AppWindowFrameView::GetClassName() const { return kViewClassName; }
« no previous file with comments | « no previous file | chrome/browser/download/download_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698