Index: ash/shelf/shelf_view.cc |
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc |
index b339c2c8b1a98432342a2e6f4a77687930c035ca..67988af1e955644f50eb0e64ca22b988bf1c6bb8 100644 |
--- a/ash/shelf/shelf_view.cc |
+++ b/ash/shelf/shelf_view.cc |
@@ -18,6 +18,7 @@ |
#include "ash/shelf/overflow_bubble_view.h" |
#include "ash/shelf/overflow_button.h" |
#include "ash/shelf/shelf_button.h" |
+#include "ash/shelf/shelf_constants.h" |
#include "ash/shelf/shelf_delegate.h" |
#include "ash/shelf/shelf_icon_observer.h" |
#include "ash/shelf/shelf_item_delegate.h" |
@@ -1348,7 +1349,7 @@ void ShelfView::UpdateOverflowRange(ShelfView* overflow_view) { |
int ShelfView::GetButtonSize() const { |
return ash::switches::UseAlternateShelfLayout() ? |
- kButtonSize : kLauncherPreferredSize; |
+ kButtonSize : kShelfPreferredSize; |
} |
int ShelfView::GetButtonSpacing() const { |