commit | 756999e8b7c08df3fc8bdca007e2286261a0816b | [log] [tgz] |
---|---|---|
author | Jan Wilken Dörrie <[email protected]> | Tue Mar 23 15:05:24 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue Mar 23 15:05:24 2021 |
tree | f6fc63a993729c9117649075c815c76d6a0ee7ca | |
parent | 62be0fb4c48afc07279d18bb4f4bf1e8db3acc2f [diff] [blame] |
[LSC] Remove base::ASCIIToUTF16("...") in //components This change removes calls to base::ASCIIToUTF16 in //components with a single-line string literal and replaces them with a u"..." literal instead. Files where this change would cause compilation errors were not changed. This is a mechanical change: $ git grep -lw ASCIIToUTF16 components | xargs \ sed -i 's/\(base::\)\?ASCIIToUTF16(\("\(\\.\|[^\\"]\)*"\))/u\2/g' $ git cl format Bug: 1189439 Change-Id: Ie31fb5af442621ca093c5dfc46b69c846307731a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780083 Commit-Queue: Peter Kasting <[email protected]> Auto-Submit: Jan Wilken Dörrie <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Owners-Override: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#865632}
diff --git a/components/omnibox/browser/clipboard_provider.cc b/components/omnibox/browser/clipboard_provider.cc index b19ad9c..73de409 100644 --- a/components/omnibox/browser/clipboard_provider.cc +++ b/components/omnibox/browser/clipboard_provider.cc
@@ -570,7 +570,7 @@ AutocompleteMatch match = NewBlankImageMatch(); match.search_terms_args = - std::make_unique<TemplateURLRef::SearchTermsArgs>(base::ASCIIToUTF16("")); + std::make_unique<TemplateURLRef::SearchTermsArgs>(u""); match.search_terms_args->image_thumbnail_content.assign( image_bytes->front_as<char>(), image_bytes->size()); TemplateURLRef::PostContent post_content;