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

Unified Diff: components/infobars/core/infobar_delegate.cc

Issue 2066543002: Fix the Material Design infobar icons size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_delegate.cc
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index c5c67c1d3376a79e9948d04b335520e57e11ea75..384a96f4426bbd10f6a68022d508e7d0649b0a9c 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -46,7 +46,7 @@ gfx::Image InfoBarDelegate::GetIcon() const {
if (ui::MaterialDesignController::IsModeMaterial()) {
gfx::VectorIconId vector_id = GetVectorIconId();
if (vector_id != gfx::VectorIconId::VECTOR_ICON_NONE) {
- return gfx::Image(gfx::CreateVectorIcon(vector_id, 18,
+ return gfx::Image(gfx::CreateVectorIcon(vector_id, 16,
GetInfoBarType() == WARNING_TYPE
? SkColorSetRGB(0xFF, 0x67, 0)
: gfx::kGoogleBlue500));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698