Index: ash/shelf/shelf_view.cc |
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc |
index fad9003036abc18a9fc9a6759387a97c207b0461..810d6cee27a290daf20ddfedc6aa1c990dfc69e9 100644 |
--- a/ash/shelf/shelf_view.cc |
+++ b/ash/shelf/shelf_view.cc |
@@ -1397,7 +1397,7 @@ int ShelfView::CancelDrag(int modified_index) { |
return modified_view ? view_model_->GetIndexOfView(modified_view) : -1; |
} |
-gfx::Size ShelfView::GetPreferredSize() const { |
+gfx::Size ShelfView::CalculatePreferredSize() const { |
gfx::Rect overflow_bounds; |
CalculateIdealBounds(&overflow_bounds); |