Index: ash/common/shelf/shelf_view.cc |
diff --git a/ash/common/shelf/shelf_view.cc b/ash/common/shelf/shelf_view.cc |
index 48458db58ec18c3b5c6ae0b433e18c0a906dce2f..84630378351fd2d3b20b913befee22e498fe8d07 100644 |
--- a/ash/common/shelf/shelf_view.cc |
+++ b/ash/common/shelf/shelf_view.cc |
@@ -405,7 +405,7 @@ void ShelfView::Init() { |
const ShelfItems& items(model_->items()); |
for (ShelfItems::const_iterator i = items.begin(); i != items.end(); ++i) { |
views::View* child = CreateViewForItem(*i); |
- child->SetPaintToLayer(true); |
+ child->SetPaintToLayer(); |
view_model_->Add(child, static_cast<int>(i - items.begin())); |
AddChildView(child); |
} |
@@ -1392,7 +1392,7 @@ std::pair<int, int> ShelfView::GetDragRange(int index) { |
} |
void ShelfView::ConfigureChildView(views::View* view) { |
- view->SetPaintToLayer(true); |
+ view->SetPaintToLayer(); |
view->layer()->SetFillsBoundsOpaquely(false); |
} |