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

Side by Side Diff: ios/web/public/navigation_item_list.mm

Issue 2672953005: Updated ownership of NavigationItems within CRWSessionController. (Closed)
Patch Set: fix unittests Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #import "ios/web/public/navigation_item_list.h"
6
7 namespace web {
8
9 NavigationItemList CreateRawNavigationItemList(
10 const ScopedNavigationItemList& scoped_list) {
11 NavigationItemList list(scoped_list.size());
12 for (size_t index = 0; index < scoped_list.size(); ++index)
13 list[index] = scoped_list[index].get();
14 return list;
15 }
16
17 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/public/navigation_item_list.h ('k') | ios/web/web_state/ui/crw_web_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698