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

Unified Diff: ios/web/public/test/fakes/crw_test_web_state_observer.mm

Issue 2759613003: Use SameDocument instead of SamePage term on iOS. (Closed)
Patch Set: Actually fixed tests 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: 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 3f39e4b354a167d518d5d23b2a2ba246c4e0b9ed..fdc9bebb26485c565875de58ce49fa7e840eb565 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
@@ -149,7 +149,7 @@ TestUpdateFaviconUrlCandidatesInfo::~TestUpdateFaviconUrlCandidatesInfo() =
if (navigation->IsSameDocument()) {
ASSERT_FALSE(navigation->IsErrorPage());
_didFinishNavigationInfo->context =
- web::NavigationContextImpl::CreateSamePageNavigationContext(
+ web::NavigationContextImpl::CreateSameDocumentNavigationContext(
navigation->GetWebState(), navigation->GetUrl());
} else if (navigation->IsErrorPage()) {
ASSERT_FALSE(navigation->IsSameDocument());
« no previous file with comments | « ios/testing/data/http_server_files/window_open.html ('k') | ios/web/public/test/fakes/test_web_state_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698