diff options
Diffstat (limited to 'ui/views/bubble/bubble_delegate.cc')
-rw-r--r-- | ui/views/bubble/bubble_delegate.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc index 38e25f0..446b7b2 100644 --- a/ui/views/bubble/bubble_delegate.cc +++ b/ui/views/bubble/bubble_delegate.cc @@ -220,7 +220,7 @@ void BubbleDelegateView::OnWidgetMoved(Widget* widget) { } gfx::Rect BubbleDelegateView::GetAnchorRect() { - return anchor_view() ? anchor_view()->GetScreenBounds() : gfx::Rect(); + return anchor_view() ? anchor_view()->GetBoundsInScreen() : gfx::Rect(); } void BubbleDelegateView::Show() { @@ -328,7 +328,7 @@ gfx::Rect BubbleDelegateView::GetBubbleBounds() { #if defined(OS_WIN) && !defined(USE_AURA) gfx::Rect BubbleDelegateView::GetBubbleClientBounds() const { gfx::Rect client_bounds(GetBubbleFrameView()->GetBoundsForClientView()); - client_bounds.Offset(border_widget_->GetWindowScreenBounds().origin()); + client_bounds.Offset(border_widget_->GetWindowBoundsInScreen().origin()); return client_bounds; } #endif |