| Index: ash/common/shelf/shelf_button.cc
|
| diff --git a/ash/common/shelf/shelf_button.cc b/ash/common/shelf/shelf_button.cc
|
| index e7b4c0584e8b8faaae303ea1f38733550ed1a4c6..e880719c5fa7bae81793b3093d0256204ca51f73 100644
|
| --- a/ash/common/shelf/shelf_button.cc
|
| +++ b/ash/common/shelf/shelf_button.cc
|
| @@ -21,6 +21,7 @@
|
| #include "ui/accessibility/ax_node_data.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/compositor/layer.h"
|
| +#include "ui/compositor/layer_type.h"
|
| #include "ui/compositor/scoped_layer_animation_settings.h"
|
| #include "ui/events/event_constants.h"
|
| #include "ui/gfx/animation/animation_delegate.h"
|
| @@ -273,7 +274,7 @@ ShelfButton::ShelfButton(InkDropButtonListener* listener, ShelfView* shelf_view)
|
| icon_shadows_.assign(kShadows, kShadows + arraysize(kShadows));
|
|
|
| // TODO: refactor the layers so each button doesn't require 2.
|
| - icon_view_->SetPaintToLayer(true);
|
| + icon_view_->SetPaintToLayer(ui::LAYER_TEXTURED);
|
| icon_view_->layer()->SetFillsBoundsOpaquely(false);
|
| icon_view_->SetHorizontalAlignment(views::ImageView::CENTER);
|
| icon_view_->SetVerticalAlignment(views::ImageView::LEADING);
|
|
|