| Index: ios/web/public/web_state/web_state_observer.h
|
| diff --git a/ios/web/public/web_state/web_state_observer.h b/ios/web/public/web_state/web_state_observer.h
|
| index bbf6da5b4234e01ef626b75e308ec4658d1a212b..e697b2d4c501db98a186e4d31ba5307bf30a7bc5 100644
|
| --- a/ios/web/public/web_state/web_state_observer.h
|
| +++ b/ios/web/public/web_state/web_state_observer.h
|
| @@ -60,9 +60,9 @@ class WebStateObserver {
|
| // and related methods to listen for continued events from this
|
| // WebState.
|
| //
|
| - // This is also fired by same-page navigations, such as fragment navigations
|
| - // or pushState/replaceState, which will not result in a document change. To
|
| - // filter these out, use NavigationContext::IsSamePage().
|
| + // This is also fired by same-document navigations, such as fragment
|
| + // navigations or pushState/replaceState, which will not result in a document
|
| + // change. To filter these out, use NavigationContext::IsSameDocument().
|
| //
|
| // |navigation_context| will be destroyed at the end of this call, so do not
|
| // keep a reference to it afterward.
|
|
|