Index: components/infobars/core/infobar_delegate.cc |
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc |
index 849811e051012c5c5bff6f29d078eb1a4097ebd8..dcb70f59090f80b5419461843378018939bcef61 100644 |
--- a/components/infobars/core/infobar_delegate.cc |
+++ b/components/infobars/core/infobar_delegate.cc |
@@ -43,14 +43,12 @@ gfx::VectorIconId InfoBarDelegate::GetVectorIconId() const { |
gfx::Image InfoBarDelegate::GetIcon() const { |
#if !defined(OS_IOS) && !defined(OS_ANDROID) |
- if (ui::MaterialDesignController::IsModeMaterial()) { |
- gfx::VectorIconId vector_id = GetVectorIconId(); |
- if (vector_id != gfx::VectorIconId::VECTOR_ICON_NONE) { |
- return gfx::Image(gfx::CreateVectorIcon(vector_id, 16, |
- GetInfoBarType() == WARNING_TYPE |
- ? SkColorSetRGB(0xFF, 0x67, 0) |
- : gfx::kGoogleBlue500)); |
- } |
+ gfx::VectorIconId vector_id = GetVectorIconId(); |
+ if (vector_id != gfx::VectorIconId::VECTOR_ICON_NONE) { |
+ return gfx::Image(gfx::CreateVectorIcon(vector_id, 16, |
+ GetInfoBarType() == WARNING_TYPE |
+ ? SkColorSetRGB(0xFF, 0x67, 0) |
+ : gfx::kGoogleBlue500)); |
} |
#endif |