| Index: ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| diff --git a/ios/web/public/test/fakes/crw_test_web_state_observer.mm b/ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| index 7318b888d887830b0d8216d02651ae174b9752c5..673d89e450175a62b652839ad02e5bc98a9dc761 100644
|
| --- a/ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| +++ b/ios/web/public/test/fakes/crw_test_web_state_observer.mm
|
| @@ -132,13 +132,13 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
|
| _didFinishNavigationInfo =
|
| base::MakeUnique<web::TestDidFinishNavigationInfo>();
|
| _didFinishNavigationInfo->web_state = webState;
|
| - if (navigation->IsSamePage()) {
|
| + if (navigation->IsSameDocument()) {
|
| ASSERT_FALSE(navigation->IsErrorPage());
|
| _didFinishNavigationInfo->context =
|
| web::NavigationContextImpl::CreateSamePageNavigationContext(
|
| navigation->GetWebState(), navigation->GetUrl());
|
| } else if (navigation->IsErrorPage()) {
|
| - ASSERT_FALSE(navigation->IsSamePage());
|
| + ASSERT_FALSE(navigation->IsSameDocument());
|
| _didFinishNavigationInfo->context =
|
| web::NavigationContextImpl::CreateErrorPageNavigationContext(
|
| navigation->GetWebState(), navigation->GetUrl());
|
|
|