Changeset 182578 in webkit
- Timestamp:
- Apr 8, 2015, 6:37:52 PM (10 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r182576 r182578 1 2015-04-08 Joseph Pecoraro <pecoraro@apple.com> 2 3 Fix uncaught exception seen in Inspector. 4 5 Reviewed by Timothy Hatcher. 6 7 * UserInterface/Views/TreeOutline.js: 8 (WebInspector.TreeOutline.prototype.removeChild): 9 Add a null check. Everywhere else null checks this member variable 10 which may not exist yet, this case was missing the check. 11 1 12 2015-04-08 Tobias Reiss <tobi+webkit@basecode.de> 2 13 -
trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js
r182042 r182578 196 196 197 197 if (!this.children.length) { 198 this._listItemNode.classList.remove("parent"); 198 if (this._listItemNode) 199 this._listItemNode.classList.remove("parent"); 199 200 this.hasChildren = false; 200 201 }
Note:
See TracChangeset
for help on using the changeset viewer.