| Index: ash/shelf/app_list_button.cc
|
| diff --git a/ash/shelf/app_list_button.cc b/ash/shelf/app_list_button.cc
|
| index 1fb50398c101db0230bfe64aa0f319a58a00e72f..1e491bfea8dfe01f05a5a8bc5a395ad600c0ea94 100644
|
| --- a/ash/shelf/app_list_button.cc
|
| +++ b/ash/shelf/app_list_button.cc
|
| @@ -30,9 +30,6 @@
|
|
|
| namespace ash {
|
|
|
| -// Radius of the app list button circular background.
|
| -const int kAppListButtonBackgroundRadius = 16;
|
| -
|
| AppListButton::AppListButton(InkDropButtonListener* listener,
|
| ShelfView* shelf_view)
|
| : views::ImageButton(nullptr),
|
| @@ -146,9 +143,7 @@ void AppListButton::PaintBackgroundMD(gfx::Canvas* canvas) {
|
| gfx::Point circle_center = GetContentsBounds().CenterPoint();
|
| if (!IsHorizontalAlignment(shelf_view_->shelf()->alignment()))
|
| circle_center = gfx::Point(circle_center.y(), circle_center.x());
|
| -
|
| - canvas->DrawCircle(circle_center, kAppListButtonBackgroundRadius,
|
| - background_paint);
|
| + canvas->DrawCircle(circle_center, kAppListButtonRadius, background_paint);
|
|
|
| if (Shell::GetInstance()->GetAppListTargetVisibility() ||
|
| draw_background_as_active_) {
|
| @@ -156,9 +151,7 @@ void AppListButton::PaintBackgroundMD(gfx::Canvas* canvas) {
|
| highlight_paint.setColor(kShelfButtonActivatedHighlightColor);
|
| highlight_paint.setFlags(SkPaint::kAntiAlias_Flag);
|
| highlight_paint.setStyle(SkPaint::kFill_Style);
|
| -
|
| - canvas->DrawCircle(circle_center, kAppListButtonBackgroundRadius,
|
| - highlight_paint);
|
| + canvas->DrawCircle(circle_center, kAppListButtonRadius, highlight_paint);
|
| }
|
| }
|
|
|
|
|