Index: chrome/browser/instant/instant_controller.cc |
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc |
index c2e8ab6cc69be6562b2a8c3433598b77c7d0f9cd..28a22de347d958583b1c811570836d5f8a489490 100644 |
--- a/chrome/browser/instant/instant_controller.cc |
+++ b/chrome/browser/instant/instant_controller.cc |
@@ -189,8 +189,10 @@ void InstantController::SetOmniboxBounds(const gfx::Rect& bounds) { |
if (omnibox_bounds_ == bounds) |
return; |
+ // Always track the omnibox bounds. That way if Update is later invoked the |
+ // bounds are in sync. |
+ omnibox_bounds_ = bounds; |
if (loader_manager_.get()) { |
- omnibox_bounds_ = bounds; |
if (loader_manager_->current_loader()) |
loader_manager_->current_loader()->SetOmniboxBounds(bounds); |
if (loader_manager_->pending_loader()) |