| Index: ui/views/bubble/bubble_delegate.cc
|
| diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc
|
| index e7fad312a0dd4ae6f09b1e9749ce56cfeb5ba5ec..421584ca06c958a4a98be9af5abde55cdc4fbb0c 100644
|
| --- a/ui/views/bubble/bubble_delegate.cc
|
| +++ b/ui/views/bubble/bubble_delegate.cc
|
| @@ -96,7 +96,9 @@ Widget* BubbleDelegateView::CreateBubble(BubbleDelegateView* bubble_delegate) {
|
| bubble_delegate->SetAnchorView(bubble_delegate->GetAnchorView());
|
| Widget* bubble_widget = CreateBubbleWidget(bubble_delegate);
|
|
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_MACOSX)
|
| + bubble_delegate->set_adjust_if_offscreen(true);
|
| +#elif defined(OS_WIN)
|
| // If glass is enabled, the bubble is allowed to extend outside the bounds of
|
| // the parent frame and let DWM handle compositing. If not, then we don't
|
| // want to allow the bubble to extend the frame because it will be clipped.
|
|
|