Index: ui/views/bubble/bubble_delegate.cc |
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc |
index 0b890eca5d0ff4ef21d8eaf1cc65f5d3a8076ced..0f814888e239d80bff2b4f31a469de431b4c7e46 100644 |
--- a/ui/views/bubble/bubble_delegate.cc |
+++ b/ui/views/bubble/bubble_delegate.cc |
@@ -272,8 +272,9 @@ BubbleFrameView* BubbleDelegateView::GetBubbleFrameView() const { |
gfx::Rect BubbleDelegateView::GetBubbleBounds() { |
// The argument rect has its origin at the bubble's arrow anchor point; |
// its size is the preferred size of the bubble's client view (this view). |
+ bool anchor_minimized = anchor_widget() && anchor_widget()->IsMinimized(); |
return GetBubbleFrameView()->GetUpdatedWindowBounds(GetAnchorRect(), |
- GetPreferredSize(), adjust_if_offscreen_); |
+ GetPreferredSize(), adjust_if_offscreen_ && !anchor_minimized); |
} |
void BubbleDelegateView::UpdateColorsFromTheme(const ui::NativeTheme* theme) { |