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

Unified Diff: ios/chrome/browser/tabs/tab_model_unittest.mm

Issue 2787593002: [ios] Clean up uses of private web API. (Closed)
Patch Set: Address comments (add TODO). Created 3 years, 8 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/chrome/browser/tabs/tab_model.mm ('k') | ios/chrome/browser/tabs/tab_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/tabs/tab_model_unittest.mm
diff --git a/ios/chrome/browser/tabs/tab_model_unittest.mm b/ios/chrome/browser/tabs/tab_model_unittest.mm
index adfc7755952ffff619d4639e7edb7da46867a6a8..8b31c71ac3153c622ecd37e0c059f72f35ff5493 100644
--- a/ios/chrome/browser/tabs/tab_model_unittest.mm
+++ b/ios/chrome/browser/tabs/tab_model_unittest.mm
@@ -867,7 +867,7 @@ TEST_F(TabModelTest, AddWithOrderControllerAndGrouping) {
web::NavigationManager::WebLoadParams parent_params(
GURL("http://www.espn.com"));
parent_params.transition_type = ui::PAGE_TRANSITION_TYPED;
- [[parent webController] loadWithParams:parent_params];
+ [parent navigationManager]->LoadURLWithParams(parent_params);
ASSERT_TRUE([parent navigationManagerImpl]);
[[parent navigationManagerImpl]->GetSessionController() commitPendingItem];
EXPECT_EQ([tab_model_ indexOfTab:parent], 0U);
« no previous file with comments | « ios/chrome/browser/tabs/tab_model.mm ('k') | ios/chrome/browser/tabs/tab_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698