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

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

Issue 2230183002: ui: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 | « ui/base/l10n/l10n_util_unittest.cc ('k') | ui/base/win/hwnd_subclass.cc » ('j') | 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 d860db9dd1e3cdbc9e248bf7a8cce0d012127c91..7d4f29a8d87c752a385a987996c89439dbd10907 100644
--- a/ui/base/models/tree_node_model.h
+++ b/ui/base/models/tree_node_model.h
@@ -69,9 +69,7 @@ class TreeNode : public TreeModelNode {
explicit TreeNode(const base::string16& title)
: title_(title), parent_(NULL) {}
- ~TreeNode() override {
- STLDeleteElements(&children_);
- }
+ ~TreeNode() override { base::STLDeleteElements(&children_); }
// Adds |node| as a child of this node, at |index|.
virtual void Add(NodeType* node, int index) {
« no previous file with comments | « ui/base/l10n/l10n_util_unittest.cc ('k') | ui/base/win/hwnd_subclass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698