Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
index 188611d51c8d59bf58b73013b81d2d9bb9549725..046f6dcce673ae7de04102608f3b289e3bdf11aa 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
@@ -1009,6 +1009,12 @@ bool OmniboxEditModel::OnAfterPossibleChange(const string16& old_text, |
void OmniboxEditModel::PopupBoundsChangedTo(const gfx::Rect& bounds) { |
InstantController* instant = controller_->GetInstant(); |
if (instant) |
+ instant->SetPopupBounds(bounds); |
+} |
+ |
+void OmniboxEditModel::OnOmniboxBoundsChanged(const gfx::Rect& bounds) { |
+ InstantController* instant = controller_->GetInstant(); |
+ if (instant) |
instant->SetOmniboxBounds(bounds); |
} |