Index: chrome/browser/autocomplete/history_url_provider.cc |
=================================================================== |
--- chrome/browser/autocomplete/history_url_provider.cc (revision 104960) |
+++ chrome/browser/autocomplete/history_url_provider.cc (working copy) |
@@ -381,8 +381,7 @@ |
((params->input.type() != AutocompleteInput::UNKNOWN) || |
(classifier.type() == VisitClassifier::UNVISITED_INTRANET) || |
!params->trim_http || |
- url_util::FindAndCompareScheme(UTF16ToUTF8(params->input.text()), |
- chrome::kHttpsScheme, NULL)); |
+ (AutocompleteInput::NumNonHostComponents(params->input.parts()) > 0)); |
AutocompleteMatch what_you_typed_match(SuggestExactInput(params->input, |
params->trim_http)); |