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

Unified Diff: ios/web/web_state/web_state_impl_unittest.mm

Issue 2879413002: Pass NavigationContext to WebStateImpl::OnNavigationStarted. (Closed)
Patch Set: Fixed tests Created 3 years, 7 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
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | ios/web/webui/crw_web_ui_manager_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e4c327385f326c4a4d4fa1bfbd427463055f28e9..d4d111e9092037416919f6709a988496601546b9 100644
--- a/ios/web/web_state/web_state_impl_unittest.mm
+++ b/ios/web/web_state/web_state_impl_unittest.mm
@@ -365,7 +365,7 @@ TEST_F(WebStateImplTest, ObserverTest) {
// Test that OnNavigationFinished() is called.
ASSERT_FALSE(observer->start_provisional_navigation_info());
- web_state_->OnProvisionalNavigationStarted(url);
+ web_state_->OnNavigationStarted(context.get());
ASSERT_TRUE(observer->start_provisional_navigation_info());
EXPECT_EQ(web_state_.get(),
observer->start_provisional_navigation_info()->web_state);
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | ios/web/webui/crw_web_ui_manager_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698