diff options
Diffstat (limited to 'chrome/browser/instant')
-rw-r--r-- | chrome/browser/instant/instant_controller.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc index fcc55f9..8a71266 100644 --- a/chrome/browser/instant/instant_controller.cc +++ b/chrome/browser/instant/instant_controller.cc @@ -514,8 +514,10 @@ bool InstantController::GetType(Profile* profile, Type* type) { *type = VERBATIM_TYPE; return true; } - - // There is no switch for PREDICTIVE_NO_AUTO_COMPLETE_TYPE. + if (cl->HasSwitch(switches::kEnablePredictiveNoAutoCompleteInstant)) { + *type = PREDICTIVE_NO_AUTO_COMPLETE_TYPE; + return true; + } // Then prefs. PrefService* prefs = profile->GetPrefs(); |