Index: chrome/browser/gpu/three_d_api_observer.cc |
diff --git a/chrome/browser/gpu/three_d_api_observer.cc b/chrome/browser/gpu/three_d_api_observer.cc |
index 3d3429558a61aaf738eae6846bb39210dfb7eda5..2fa880384801614e2e21fe56a64000a1e59d6064 100644 |
--- a/chrome/browser/gpu/three_d_api_observer.cc |
+++ b/chrome/browser/gpu/three_d_api_observer.cc |
@@ -39,6 +39,7 @@ class ThreeDAPIInfoBarDelegate : public ConfirmInfoBarDelegate { |
~ThreeDAPIInfoBarDelegate() override; |
// ConfirmInfoBarDelegate: |
+ infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
int GetIconId() const override; |
bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override; |
ThreeDAPIInfoBarDelegate* AsThreeDAPIInfoBarDelegate() override; |
@@ -87,6 +88,11 @@ ThreeDAPIInfoBarDelegate::~ThreeDAPIInfoBarDelegate() { |
} |
} |
+infobars::InfoBarDelegate::InfoBarIdentifier |
+ThreeDAPIInfoBarDelegate::GetIdentifier() const { |
+ return THREE_D_API_INFOBAR_DELEGATE; |
+} |
+ |
int ThreeDAPIInfoBarDelegate::GetIconId() const { |
return IDR_INFOBAR_3D_BLOCKED; |
} |