Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: components/search_engines/util.cc

Issue 1135163002: Omnibox - Strip Extra Whitespace from Custom Search Engine Names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/search_engines/util.cc
diff --git a/components/search_engines/util.cc b/components/search_engines/util.cc
index 961a93ef44dc86ed8fe82bceb7d3cbfcf7a12129..2e16a9c65f8783a261bf04d37bc7ba4aea2fd7aa 100644
--- a/components/search_engines/util.cc
+++ b/components/search_engines/util.cc
@@ -169,7 +169,7 @@ void MergeIntoPrepopulatedEngineData(const TemplateURL* original_turl,
if (!original_turl->safe_for_autoreplace()) {
prepopulated_url->safe_for_autoreplace = false;
prepopulated_url->SetKeyword(original_turl->keyword());
- prepopulated_url->short_name = original_turl->short_name();
+ prepopulated_url->SetShortName(original_turl->short_name());
}
prepopulated_url->id = original_turl->id();
prepopulated_url->sync_guid = original_turl->sync_guid();

Powered by Google App Engine
This is Rietveld 408576698