Index: ash/shelf/shelf.h |
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h |
index f8844586a7a6ad57df53539942186cf705abcfbd..374534ce041e2a34acce995b5f6e9c5423f583b4 100644 |
--- a/ash/shelf/shelf.h |
+++ b/ash/shelf/shelf.h |
@@ -66,7 +66,7 @@ class ASH_EXPORT Shelf { |
// A helper functions that chooses values specific to a shelf alignment. |
template <typename T> |
- T SelectValueForShelfAlignment(T bottom, T left, T right, T top) const { |
+ T SelectValueForShelfAlignment(T bottom, T left, T right) const { |
switch (alignment_) { |
case SHELF_ALIGNMENT_BOTTOM: |
return bottom; |
@@ -74,8 +74,6 @@ class ASH_EXPORT Shelf { |
return left; |
case SHELF_ALIGNMENT_RIGHT: |
return right; |
- case SHELF_ALIGNMENT_TOP: |
- return top; |
} |
NOTREACHED(); |
return right; |