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

Unified Diff: ash/common/wm/dock/docked_window_layout_manager.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/user/rounded_image_view.cc ('k') | ash/common/wm/overview/window_grid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/dock/docked_window_layout_manager.cc
diff --git a/ash/common/wm/dock/docked_window_layout_manager.cc b/ash/common/wm/dock/docked_window_layout_manager.cc
index 99b361319bd6d0c7c9fac665531fd7405926c115..a71dbe81ca08fa916c161d671707dbc314b094db 100644
--- a/ash/common/wm/dock/docked_window_layout_manager.cc
+++ b/ash/common/wm/dock/docked_window_layout_manager.cc
@@ -94,8 +94,8 @@ class DockedBackgroundWidget : public views::Widget,
const gfx::ImageSkia& shelf_background(alignment_ == DOCKED_ALIGNMENT_LEFT
? shelf_background_left_
: shelf_background_right_);
- cc::PaintFlags paint;
- paint.setAlpha(asset_background_alpha_);
+ cc::PaintFlags flags;
+ flags.setAlpha(asset_background_alpha_);
recorder.canvas()->DrawImageInt(
shelf_background, 0, 0, shelf_background.width(),
shelf_background.height(),
@@ -103,7 +103,7 @@ class DockedBackgroundWidget : public views::Widget,
? local_window_bounds.width() - shelf_background.width()
: 0,
0, shelf_background.width(), local_window_bounds.height(), false,
- paint);
+ flags);
recorder.canvas()->DrawImageInt(
shelf_background,
alignment_ == DOCKED_ALIGNMENT_LEFT ? 0
@@ -111,7 +111,7 @@ class DockedBackgroundWidget : public views::Widget,
0, 1, shelf_background.height(),
alignment_ == DOCKED_ALIGNMENT_LEFT ? 0 : shelf_background.width(), 0,
local_window_bounds.width() - shelf_background.width(),
- local_window_bounds.height(), false, paint);
+ local_window_bounds.height(), false, flags);
}
}
« no previous file with comments | « ash/common/system/user/rounded_image_view.cc ('k') | ash/common/wm/overview/window_grid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698