diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 22:32:41 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 22:32:41 +0000 |
commit | e432d4cbdf610a02ed7aea0bf181e4a47df5dad7 (patch) | |
tree | c35b4e8314f53ef940a522119899a98b94499f40 /skia/ext/skia_utils_mac.mm | |
parent | b53ca567382de02e7a7d511cc03324bef39cb4c9 (diff) | |
download | chromium_src-e432d4cbdf610a02ed7aea0bf181e4a47df5dad7.zip chromium_src-e432d4cbdf610a02ed7aea0bf181e4a47df5dad7.tar.gz chromium_src-e432d4cbdf610a02ed7aea0bf181e4a47df5dad7.tar.bz2 |
Fixes bug in removing nodes from tree. Specifically if the root is not
shown and you remove a node that is a child of the root, we silently
fail as there is no tree item for the root. Not having a tree item for
a node is typically fine (it usually means it hasn't been expanded),
but in this case it's wrong. We need to special case removing from the
root here.
BUG=26606
TEST=see bug, but also make sure no regression in removing nodes from
bookmark manager's tree.
Review URL: http://codereview.chromium.org/360021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/skia_utils_mac.mm')
0 files changed, 0 insertions, 0 deletions