summaryrefslogtreecommitdiffstats
path: root/components/infobars/core
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2015-10-27 15:24:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-27 22:25:43 +0000
commitaf6bedc91b4b655d8e277b970778417863d09a21 (patch)
tree3833ce70d5abaebf41410928cea8b7deb952399c /components/infobars/core
parentd50b4910a3c5b388f74fb50bc98587cb59e4e295 (diff)
downloadchromium_src-af6bedc91b4b655d8e277b970778417863d09a21.zip
chromium_src-af6bedc91b4b655d8e277b970778417863d09a21.tar.gz
chromium_src-af6bedc91b4b655d8e277b970778417863d09a21.tar.bz2
Theme colors of location bar icons.
BUG=547143 Review URL: https://codereview.chromium.org/1424633002 Cr-Commit-Position: refs/heads/master@{#356412}
Diffstat (limited to 'components/infobars/core')
-rw-r--r--components/infobars/core/infobar_delegate.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index 6dc0b3d..4da01aa 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -46,10 +46,10 @@ 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,
- GetInfoBarType() == WARNING_TYPE ? SkColorSetRGB(0xFF, 0x67, 0)
- : gfx::kGoogleBlue));
+ return gfx::Image(gfx::CreateVectorIcon(vector_id, 18,
+ GetInfoBarType() == WARNING_TYPE
+ ? SkColorSetRGB(0xFF, 0x67, 0)
+ : gfx::kGoogleBlue500));
}
}
#endif