Improve the algorithm of TreeNode::Remove.

Now it uses the same algorithm used in ui/views/view.[cc,h] of RemoveChildView.

[email protected]
BUG=None
TEST=out/Debug/app_unittests --gtest_filter=TreeNodeModelTest.*

Review URL: http://codereview.chromium.org/6714034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78953 0039d316-1c4b-4281-b951-d872f2087c98
6 files changed