| Index: ios/web/web_state/web_state_impl_unittest.mm
|
| diff --git a/ios/web/web_state/web_state_impl_unittest.mm b/ios/web/web_state/web_state_impl_unittest.mm
|
| index b2a16a2dc16ba547009c694f2d5c4fdc693ad048..5da7cee683b8e9ad9afa95093ffd005b36706ea8 100644
|
| --- a/ios/web/web_state/web_state_impl_unittest.mm
|
| +++ b/ios/web/web_state/web_state_impl_unittest.mm
|
| @@ -386,7 +386,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
|
| observer->did_finish_navigation_info()->context.get();
|
| ASSERT_TRUE(context);
|
| EXPECT_EQ(url, context->GetUrl());
|
| - EXPECT_TRUE(context->IsSamePage());
|
| + EXPECT_TRUE(context->IsSameDocument());
|
| EXPECT_FALSE(context->IsErrorPage());
|
|
|
| // Reset the observer and test that DidFinishNavigation() is called
|
| @@ -400,7 +400,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
|
| context = observer->did_finish_navigation_info()->context.get();
|
| ASSERT_TRUE(context);
|
| EXPECT_EQ(url, context->GetUrl());
|
| - EXPECT_FALSE(context->IsSamePage());
|
| + EXPECT_FALSE(context->IsSameDocument());
|
| EXPECT_TRUE(context->IsErrorPage());
|
|
|
| // Test that OnTitleChanged() is called.
|
|
|