| 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 e0f129b5a431b6c64e62d9eadae3601ce545561b..38062a39234b5fb4cdd3ee48cc280affc7a8e926 100644
|
| --- a/ui/base/models/tree_node_model.h
|
| +++ b/ui/base/models/tree_node_model.h
|
| @@ -38,10 +38,10 @@ namespace ui {
|
| // The following example creates a TreeNode with two children and then
|
| // creates a TreeNodeModel from it:
|
| //
|
| -// TreeNodeWithValue<int> root;
|
| -// root.Add(new TreeNodeWithValue<int>(ASCIIToUTF16("child 1"), 0));
|
| -// root.Add(new TreeNodeWithValue<int>(ASCIIToUTF16("child 2"), 1));
|
| -// TreeNodeModel<TreeNodeWithValue<int> > model(&root);
|
| +// TreeNodeWithValue<int>* root = new TreeNodeWithValue<int>();
|
| +// root->Add(new TreeNodeWithValue<int>(ASCIIToUTF16("child 1"), 0));
|
| +// root->Add(new TreeNodeWithValue<int>(ASCIIToUTF16("child 2"), 1));
|
| +// TreeNodeModel<TreeNodeWithValue<int> > model(root);
|
| //
|
| // Two variants of TreeNode are provided here:
|
| //
|
|
|