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

Unified Diff: ash/common/shelf/shelf_button.cc

Issue 2690583002: Make cc/paint have concrete types (Closed)
Patch Set: Add missing file 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
Index: ash/common/shelf/shelf_button.cc
diff --git a/ash/common/shelf/shelf_button.cc b/ash/common/shelf/shelf_button.cc
index b39fa9c2f785d3bd2c4c23ae58b1dd20de0d3ccc..5d39c6b6f96d90f8c68ca31f206053109b8a5c04 100644
--- a/ash/common/shelf/shelf_button.cc
+++ b/ash/common/shelf/shelf_button.cc
@@ -148,7 +148,7 @@ class ShelfButton::AppStatusIndicatorView
DCHECK_EQ(kIndicatorRadiusDip, width() / 2);
cc::PaintFlags flags;
flags.setColor(kIndicatorColor);
- flags.setFlags(cc::PaintFlags::kAntiAlias_Flag);
+ flags.setAntiAlias(true);
canvas->DrawCircle(gfx::Point(width() / 2, height() / 2),
kIndicatorRadiusDip, flags);
}

Powered by Google App Engine
This is Rietveld 408576698