| Index: chrome/browser/password_manager/save_password_infobar_delegate.cc
|
| diff --git a/chrome/browser/password_manager/save_password_infobar_delegate.cc b/chrome/browser/password_manager/save_password_infobar_delegate.cc
|
| index 3bf069415ac7ea66de4e6511e3aa2f09684eae90..23b34de91ce5a51aa97a8b832250dac5941a7e39 100644
|
| --- a/chrome/browser/password_manager/save_password_infobar_delegate.cc
|
| +++ b/chrome/browser/password_manager/save_password_infobar_delegate.cc
|
| @@ -108,10 +108,8 @@ scoped_ptr<InfoBar> SavePasswordInfoBarDelegate::CreateInfoBar(
|
| #endif
|
|
|
| bool SavePasswordInfoBarDelegate::ShouldExpire(
|
| - const content::LoadCommittedDetails& details) const {
|
| - bool is_not_redirect = !(details.entry->GetTransitionType() &
|
| - content::PAGE_TRANSITION_IS_REDIRECT_MASK);
|
| - return is_not_redirect && InfoBarDelegate::ShouldExpire(details);
|
| + const NavigationDetails& details) const {
|
| + return !details.is_redirect && InfoBarDelegate::ShouldExpire(details);
|
| }
|
|
|
| int SavePasswordInfoBarDelegate::GetIconID() const {
|
|
|