Index: ash/common/shelf/app_list_button.cc |
diff --git a/ash/common/shelf/app_list_button.cc b/ash/common/shelf/app_list_button.cc |
index 9898689f6930bb93cd291e7223d6af9dd2603c90..d62c00f2e9f6646f57c9da6d69af5f821a6a8199 100644 |
--- a/ash/common/shelf/app_list_button.cc |
+++ b/ash/common/shelf/app_list_button.cc |
@@ -125,7 +125,7 @@ void AppListButton::OnPaint(gfx::Canvas* canvas) { |
// Paint the circular background. |
cc::PaintFlags bg_flags; |
bg_flags.setColor(background_color_); |
- bg_flags.setFlags(cc::PaintFlags::kAntiAlias_Flag); |
+ bg_flags.setAntiAlias(true); |
bg_flags.setStyle(cc::PaintFlags::kFill_Style); |
canvas->DrawCircle(circle_center, kAppListButtonRadius, bg_flags); |
@@ -138,7 +138,7 @@ void AppListButton::OnPaint(gfx::Canvas* canvas) { |
circle_center.Scale(dsf); |
cc::PaintFlags fg_flags; |
- fg_flags.setFlags(cc::PaintFlags::kAntiAlias_Flag); |
+ fg_flags.setAntiAlias(true); |
fg_flags.setStyle(cc::PaintFlags::kStroke_Style); |
fg_flags.setColor(kShelfIconColor); |
const float thickness = std::ceil(kRingThicknessDp * dsf); |