Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3399)

Unified Diff: chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc

Issue 2716493004: Renamed NavigationHandle::IsSamePage to NavigationHandle::IsSameDocument (Closed)
Patch Set: Rebased Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698