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..fa0188e043d4a171512a8aa7967e45c044395384 100644 |
--- a/components/infobars/core/simple_alert_infobar_delegate.cc |
+++ b/components/infobars/core/simple_alert_infobar_delegate.cc |
@@ -36,6 +36,11 @@ int SimpleAlertInfoBarDelegate::GetIconID() const { |
return icon_id_; |
} |
+bool SimpleAlertInfoBarDelegate::ShouldExpireInternal( |
+ const NavigationDetails& details) const { |
+ return auto_expire_ && ConfirmInfoBarDelegate::ShouldExpireInternal(details); |
+} |
+ |
base::string16 SimpleAlertInfoBarDelegate::GetMessageText() const { |
return message_; |
} |
@@ -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); |
-} |