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

Unified Diff: ios/web/public/test/fakes/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/test_web_state_observer.mm
diff --git a/ios/web/public/test/fakes/test_web_state_observer.mm b/ios/web/public/test/fakes/test_web_state_observer.mm
index fa9f746ec87cd6f31cc95c0801bc24935039548f..912f178b7edd1264cae4e2e3a3a26a6462632a45 100644
--- a/ios/web/public/test/fakes/test_web_state_observer.mm
+++ b/ios/web/public/test/fakes/test_web_state_observer.mm
@@ -71,7 +71,7 @@ void TestWebStateObserver::DidFinishNavigation(NavigationContext* context) {
if (context->IsSameDocument()) {
ASSERT_FALSE(context->IsErrorPage());
did_finish_navigation_info_->context =
- NavigationContextImpl::CreateSamePageNavigationContext(
+ NavigationContextImpl::CreateSameDocumentNavigationContext(
context->GetWebState(), context->GetUrl());
} else if (context->IsErrorPage()) {
ASSERT_FALSE(context->IsSameDocument());
« no previous file with comments | « ios/web/public/test/fakes/crw_test_web_state_observer.mm ('k') | ios/web/web_state/navigation_callbacks_inttest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698