Index: components/infobars/core/infobar_delegate.h |
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
index 08b7f4f6c9b12db83235fa5d9275e1b65050a1aa..1396e1673b5e239092528abbfd2d08b630b5b1e2 100644 |
--- a/components/infobars/core/infobar_delegate.h |
+++ b/components/infobars/core/infobar_delegate.h |
@@ -36,7 +36,7 @@ class TranslateInfoBarDelegate; |
namespace gfx { |
class Image; |
-enum class VectorIconId; |
+struct VectorIcon; |
} |
namespace infobars { |
@@ -186,7 +186,7 @@ class InfoBarDelegate { |
// Returns the vector icon identifier to be shown for this InfoBar. This will |
// take precedence over GetIconId() (although typically only one of the two |
// should be defined for any given infobar). |
- virtual gfx::VectorIconId GetVectorIconId() const; |
+ virtual const gfx::VectorIcon& GetVectorIcon() const; |
// Returns the icon to be shown for this InfoBar. If the returned Image is |
// empty, no icon is shown. |