diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 23:27:29 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 23:27:29 +0000 |
commit | 2d48ee84a9106c6c940f2eca90b1df2f4f9e8b6f (patch) | |
tree | c03683aaf8823ef3749c9dbc5795d2ec04ba7d9a /chrome/browser/cookies_tree_model_unittest.cc | |
parent | 7b405112c0556e36644b1cd8aa6f253952b4b89e (diff) | |
download | chromium_src-2d48ee84a9106c6c940f2eca90b1df2f4f9e8b6f.zip chromium_src-2d48ee84a9106c6c940f2eca90b1df2f4f9e8b6f.tar.gz chromium_src-2d48ee84a9106c6c940f2eca90b1df2f4f9e8b6f.tar.bz2 |
Rename TreeNode::GetParent() to TreeNode::parent(). Part 2
This is part of a serie of patches to make the TreeNode API more closer to style
used in the Views Tree API (see views/view.h for reference).
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6626076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookies_tree_model_unittest.cc')
-rw-r--r-- | chrome/browser/cookies_tree_model_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cookies_tree_model_unittest.cc b/chrome/browser/cookies_tree_model_unittest.cc index dd44b52..cfab323 100644 --- a/chrome/browser/cookies_tree_model_unittest.cc +++ b/chrome/browser/cookies_tree_model_unittest.cc @@ -207,7 +207,7 @@ class CookiesTreeModelTest : public testing::Test { void DeleteStoredObjects(CookieTreeNode* node) { node->DeleteStoredObjects(); // find the parent and index - CookieTreeNode* parent_node = node->GetParent(); + CookieTreeNode* parent_node = node->parent(); DCHECK(parent_node); int ct_node_index = parent_node->GetIndexOf(node); delete parent_node->GetModel()->Remove(parent_node, ct_node_index); |