Index: chrome/browser/ui/search/instant_controller.cc |
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc |
index 8dcc23badcd2c8ac4034bb6080f57d5ad555c2a2..da409c4961939765cbd0ed3228e43f3b490a5d47 100644 |
--- a/chrome/browser/ui/search/instant_controller.cc |
+++ b/chrome/browser/ui/search/instant_controller.cc |
@@ -1118,8 +1118,10 @@ void InstantController::SetSuggestions( |
if (!suggestions.empty()) |
suggestion = suggestions[0]; |
+ // TODO(samarth): allow InstantTabs to call SetSuggestions() from the NTP once |
+ // that is better supported. |
bool can_use_instant_tab = UseInstantTabToShowSuggestions() && |
- !search_mode_.is_default(); |
+ search_mode_.is_search(); |
bool can_use_overlay = search_mode_.is_search_suggestions() && |
!last_omnibox_text_.empty(); |
if (!can_use_instant_tab && !can_use_overlay) |