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 2c2fbd7d05e34b36e5556793830fd67ce6a3b291..c14289eee7cc9c97a586973bf34adf658f3ab8b7 100644 |
--- a/chrome/browser/ui/search/instant_controller.cc |
+++ b/chrome/browser/ui/search/instant_controller.cc |
@@ -1823,7 +1823,7 @@ void InstantController::PopulateInstantAutocompleteResultFromMatch( |
InstantAutocompleteResult* result) { |
DCHECK(result); |
result->provider = UTF8ToUTF16(match.provider->GetName()); |
- result->type = UTF8ToUTF16(AutocompleteMatchType::ToString(match.type)); |
+ result->type = match.type; |
result->description = match.description; |
result->destination_url = UTF8ToUTF16(match.destination_url.spec()); |
@@ -1836,7 +1836,8 @@ void InstantController::PopulateInstantAutocompleteResultFromMatch( |
result->relevance = match.relevance; |
result->autocomplete_match_index = autocomplete_match_index; |
- DVLOG(1) << " " << result->relevance << " " << result->type << " " |
+ DVLOG(1) << " " << result->relevance << " " |
+ << UTF8ToUTF16(AutocompleteMatchType::ToString(result->type)) << " " |
<< result->provider << " " << result->destination_url << " '" |
<< result->description << "' '" << result->search_query << "' " |
<< result->transition << " " << result->autocomplete_match_index; |