| Index: chrome/browser/tab_contents/confirm_infobar_delegate.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/confirm_infobar_delegate.cc (revision 91739)
|
| +++ chrome/browser/tab_contents/confirm_infobar_delegate.cc (working copy)
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
|
|
|
| -#include "content/browser/tab_contents/navigation_details.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "grit/generated_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -51,13 +50,6 @@
|
| (confirm_delegate->GetMessageText() == GetMessageText());
|
| }
|
|
|
| -bool ConfirmInfoBarDelegate::ShouldExpire(
|
| - const content::LoadCommittedDetails& details) const {
|
| - if (details.did_replace_entry)
|
| - return false;
|
| - return InfoBarDelegate::ShouldExpire(details);
|
| -}
|
| -
|
| ConfirmInfoBarDelegate* ConfirmInfoBarDelegate::AsConfirmInfoBarDelegate() {
|
| return this;
|
| }
|
|
|