Fixes a regression where TreeOutline.findTreeElement would
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jul 2008 02:46:58 +0000 (02:46 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jul 2008 02:46:58 +0000 (02:46 +0000)
commit65746f6537f61917a3be4f06c2ac6a01ece7d799
tree6dff1489476124f083ab1d50a764733c0f720bab
parent5834eef6164dc935531f86b2709d0a04f1c286a8
    Fixes a regression where TreeOutline.findTreeElement would
        return the parent TreeElement of the representedObject instead
        of the TreeElement for the representedObject. Regressed with the
        fix for bug 19164.

        Reviewed by Adam Roben.

        * page/inspector/treeoutline.js:
        (TreeOutline.prototype.findTreeElement): When performing a slow search,
        do a final search for representedObject instead of returning item, which
        is the parent of representedObject.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/treeoutline.js