Index: chrome/browser/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/views/location_bar/location_bar_view.cc b/chrome/browser/views/location_bar/location_bar_view.cc |
index e9704857f16338f93e8ba5f2dc9424252f44bfb7..193408a49df4abc1fcaa1526ffb412a4a21604fa 100644 |
--- a/chrome/browser/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/views/location_bar/location_bar_view.cc |
@@ -746,6 +746,12 @@ void LocationBarView::OnAutocompleteWillAccept() { |
update_match_preview_ = false; |
} |
+void LocationBarView::OnPopupBoundsChanged(const gfx::Rect& bounds) { |
+ MatchPreview* match_preview = delegate_->GetMatchPreview(); |
+ if (match_preview) |
+ match_preview->SetOmniboxBounds(bounds); |
+} |
+ |
void LocationBarView::OnAutocompleteAccept( |
const GURL& url, |
WindowOpenDisposition disposition, |