summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r--chrome/browser/browser_init.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 88bb11c..f1a709a 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -74,10 +74,11 @@ class SessionCrashedInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual std::wstring GetButtonLabel(InfoBarButton button) const {
return l10n_util::GetString(IDS_SESSION_CRASHED_VIEW_RESTORE_BUTTON);
}
- virtual void Accept() {
+ virtual bool Accept() {
// Restore the session.
SessionRestore::RestoreSession(profile_, NULL, false, true, false,
std::vector<GURL>());
+ return true;
}
private: