Index: chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc |
diff --git a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc |
index 6c250dc4004ec890aaed8f5e003004c0981a8647..4165569f259dcdab1ce1c86303bfa55917a05c82 100644 |
--- a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc |
@@ -172,8 +172,8 @@ void SaveCardBubbleControllerImpl::DidFinishNavigation( |
if (save_card_callback_.is_null()) |
return; |
- // Don't react to in-page (fragment) navigations. |
- if (navigation_handle->IsSamePage()) |
+ // Don't react to same-document (fragment) navigations. |
+ if (navigation_handle->IsSameDocument()) |
return; |
// Don't do anything if a navigation occurs before a user could reasonably |