Index: chrome/browser/ui/cocoa/browser_window_controller.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm |
index 5b8164e21e8e9c66132dc3739be0334403bec4d3..fe1d890b32664f12f9b373d32b527d5636d380e2 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm |
@@ -1920,8 +1920,8 @@ willAnimateFromState:(bookmarks::VisualState)oldState |
- (void)commitInstant { |
InstantController* instant = browser_->instant_controller()->instant(); |
- if (instant) |
- instant->CommitIfCurrent(); |
+ if (instant && instant->IsCurrent()) |
+ instant->CommitCurrentPreview(INSTANT_COMMIT_FOCUS_LOST); |
} |