diff options
Diffstat (limited to 'ash/shelf/overflow_bubble_view.cc')
-rw-r--r-- | ash/shelf/overflow_bubble_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shelf/overflow_bubble_view.cc b/ash/shelf/overflow_bubble_view.cc index 720a693..1aa025b 100644 --- a/ash/shelf/overflow_bubble_view.cc +++ b/ash/shelf/overflow_bubble_view.cc @@ -184,7 +184,7 @@ gfx::Rect OverflowBubbleView::GetBubbleBounds() { views::BubbleBorder::is_arrow_on_horizontal(arrow()) ? bubble_insets.left() : bubble_insets.top(); const int arrow_offset = border_size + kPadding + kShelfViewLeadingInset + - ShelfLayoutManager::GetPreferredShelfSize() / 2; + kShelfSize / 2; const gfx::Size content_size = GetPreferredSize(); border->set_arrow_offset(arrow_offset); |