| Index: ui/app_list/views/page_switcher.cc
|
| diff --git a/ui/app_list/views/page_switcher.cc b/ui/app_list/views/page_switcher.cc
|
| index 4950c00134db2ebdc73c5cb50025b3bb4d1e35b5..c6eed4ef6a875d68c669402b387ac12a5effd176 100644
|
| --- a/ui/app_list/views/page_switcher.cc
|
| +++ b/ui/app_list/views/page_switcher.cc
|
| @@ -83,11 +83,11 @@ class PageSwitcherButton : public views::CustomButton {
|
| SkIntToScalar(kButtonCornerRadius),
|
| SkIntToScalar(kButtonCornerRadius));
|
|
|
| - SkPaint paint;
|
| - paint.setAntiAlias(true);
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| - paint.setColor(base_color);
|
| - canvas->DrawPath(path, paint);
|
| + cc::PaintFlags flags;
|
| + flags.setAntiAlias(true);
|
| + flags.setStyle(cc::PaintFlags::kFill_Style);
|
| + flags.setColor(base_color);
|
| + canvas->DrawPath(path, flags);
|
|
|
| int selected_start_x = 0;
|
| int selected_width = 0;
|
| @@ -107,8 +107,8 @@ class PageSwitcherButton : public views::CustomButton {
|
| selected_path.addRoundRect(gfx::RectToSkRect(selected_rect),
|
| SkIntToScalar(kButtonCornerRadius),
|
| SkIntToScalar(kButtonCornerRadius));
|
| - paint.setColor(kPagerSelectedColor);
|
| - canvas->DrawPath(selected_path, paint);
|
| + flags.setColor(kPagerSelectedColor);
|
| + canvas->DrawPath(selected_path, flags);
|
| }
|
| }
|
|
|
|
|