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

Unified Diff: ash/common/wm/window_cycle_list.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase Created 3 years, 11 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
Index: ash/common/wm/window_cycle_list.cc
diff --git a/ash/common/wm/window_cycle_list.cc b/ash/common/wm/window_cycle_list.cc
index e60ebd090a4edf084d4e2df4916e421198314667..6a3ed984e453db5a4feb5a5ca24b218a9a5080d4 100644
--- a/ash/common/wm/window_cycle_list.cc
+++ b/ash/common/wm/window_cycle_list.cc
@@ -352,9 +352,9 @@ class WindowCycleView : public views::WidgetDelegateView {
// We can't set a bg on the mirror container itself because the highlight
// view needs to be on top of the bg but behind the target windows.
const gfx::RectF shield_bounds(mirror_container_->bounds());
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setColor(SkColorSetA(SK_ColorBLACK, 0xE6));
- paint.setStyle(SkPaint::kFill_Style);
+ paint.setStyle(cc::PaintFlags::kFill_Style);
float corner_radius = 0.f;
if (shield_bounds.width() < width()) {
paint.setAntiAlias(true);

Powered by Google App Engine
This is Rietveld 408576698