Fixes a null exception when hovering in some areas of the DOM tree.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Apr 2008 20:13:34 +0000 (20:13 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Apr 2008 20:13:34 +0000 (20:13 +0000)
commit267120684f2622c336d99e1338d2b0e255bb3c9e
tree08e64300f78cefb5a3f98d5cf1172ee9541cfcb6
parente17932c169b79d9e96dc243024f756bad1911360
Fixes a null exception when hovering in some areas of the DOM tree.

Reviewed by Adam Roben.

* page/inspector/treeoutline.js:
(TreeOutline.prototype.treeElementFromPoint): Check listNode for null/undefined
before accessing any properties. Return null if listNode is null.

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