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

Unified Diff: ios/web/navigation/navigation_item_impl_list.mm

Issue 2737203002: Remove CRWSessionEntry. (Closed)
Patch Set: fix XCode-clang build 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
« no previous file with comments | « ios/web/navigation/navigation_item_impl_list.h ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/navigation_item_impl_list.mm
diff --git a/ios/web/navigation/navigation_item_impl_list.mm b/ios/web/navigation/navigation_item_impl_list.mm
index 22d58130ca3450eaa1c54e8980ecb1f407251cf1..755bf024fde6d29133b7d1d92272f69b510b38c9 100644
--- a/ios/web/navigation/navigation_item_impl_list.mm
+++ b/ios/web/navigation/navigation_item_impl_list.mm
@@ -19,4 +19,13 @@ ScopedNavigationItemImplList CreateScopedNavigationItemImplList(
return list;
}
+NavigationItemList CreateNavigationItemList(
+ const ScopedNavigationItemImplList& scoped_item_list) {
+ NavigationItemList list(scoped_item_list.size());
+ for (size_t index = 0; index < scoped_item_list.size(); ++index) {
+ list[index] = scoped_item_list[index].get();
+ }
+ return list;
+}
+
} // namespace web
« no previous file with comments | « ios/web/navigation/navigation_item_impl_list.h ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698