Index: components/infobars/core/simple_alert_infobar_delegate.cc |
diff --git a/components/infobars/core/simple_alert_infobar_delegate.cc b/components/infobars/core/simple_alert_infobar_delegate.cc |
index 9262d05e54cb1c5535d8309e204b9bb5278f0929..a080dce3f15b85c617d2325be9f627e25a630ea6 100644 |
--- a/components/infobars/core/simple_alert_infobar_delegate.cc |
+++ b/components/infobars/core/simple_alert_infobar_delegate.cc |
@@ -32,6 +32,11 @@ SimpleAlertInfoBarDelegate::SimpleAlertInfoBarDelegate( |
SimpleAlertInfoBarDelegate::~SimpleAlertInfoBarDelegate() { |
} |
+bool SimpleAlertInfoBarDelegate::ShouldExpireInternal( |
+ const NavigationDetails& details) const { |
+ return auto_expire_ && ConfirmInfoBarDelegate::ShouldExpireInternal(details); |
+} |
+ |
int SimpleAlertInfoBarDelegate::GetIconID() const { |
return icon_id_; |
} |
@@ -43,8 +48,3 @@ base::string16 SimpleAlertInfoBarDelegate::GetMessageText() const { |
int SimpleAlertInfoBarDelegate::GetButtons() const { |
return BUTTON_NONE; |
} |
- |
-bool SimpleAlertInfoBarDelegate::ShouldExpireInternal( |
- const NavigationDetails& details) const { |
- return auto_expire_ && ConfirmInfoBarDelegate::ShouldExpireInternal(details); |
-} |