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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view.cc

Issue 1410293003: Vectorize LocationIconView icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners,remove assets Created 5 years, 2 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: chrome/browser/ui/views/omnibox/omnibox_result_view.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
index 8530fd108e8a898ff6cb329811ff58e667541531..6f63995b34d98033024a2d4dc403c0e88f87d23a 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
@@ -573,9 +573,10 @@ gfx::ImageSkia OmniboxResultView::GetIcon() const {
return image.AsImageSkia();
if (ui::MaterialDesignController::IsModeMaterial()) {
- gfx::VectorIconId icon_id = model_->IsStarredMatch(match_) ?
- gfx::VectorIconId::OMNIBOX_STAR :
- AutocompleteMatch::TypeToVectorIcon(match_.type);
+ gfx::VectorIconId icon_id =
+ model_->IsStarredMatch(match_)
+ ? gfx::VectorIconId::OMNIBOX_STAR
+ : AutocompleteMatch::TypeToVectorIcon(match_.type);
Peter Kasting 2015/10/21 19:45:47 I'd rather not touch this file just to change the
Evan Stade 2015/10/21 23:20:01 indeed, git cl format quirk. reverted
return gfx::CreateVectorIcon(icon_id, 16, gfx::kChromeIconGrey);
}

Powered by Google App Engine
This is Rietveld 408576698