Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
index 4023f457ab2a2d6ed0d904daed0291ac03f5eff7..69be08cf1ac2a0374686052e23f9801c1b2a00d0 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc |
@@ -240,7 +240,7 @@ void OmniboxPopupContentsView::UpdatePopupAppearance() { |
} else { |
// Animate the popup shrinking, but don't animate growing larger since that |
// would make the popup feel less responsive. |
- start_bounds_ = GetWidget()->GetWindowScreenBounds(); |
+ start_bounds_ = GetWidget()->GetWindowBoundsInScreen(); |
if (target_bounds_.height() < start_bounds_.height()) |
size_animation_.Show(); |
else |