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

Unified Diff: ui/base/models/tree_node_model.h

Issue 253753005: Move bookmarks' production code to components/bookmarks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@367656
Patch Set: Fix compilation for win_chromium_x64_rel Created 6 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 | « components/bookmarks/core/browser/scoped_group_bookmark_actions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/tree_node_model.h
diff --git a/ui/base/models/tree_node_model.h b/ui/base/models/tree_node_model.h
index db5cb350a1e3ae0a5970e14086c84db82c4ab82c..003d20f5c91c6efa6df85883e511f2343b48a650 100644
--- a/ui/base/models/tree_node_model.h
+++ b/ui/base/models/tree_node_model.h
@@ -106,7 +106,7 @@ class TreeNode : public TreeModelNode {
void SetChildren(const std::vector<NodeType*>& children) {
RemoveAll();
for (size_t i = 0; i < children.size(); ++i)
- Add(children[i], i);
+ Add(children[i], static_cast<int>(i));
}
// Returns the parent node, or NULL if this is the root node.
« no previous file with comments | « components/bookmarks/core/browser/scoped_group_bookmark_actions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698