Changeset 240051 in webkit


Ignore:
Timestamp:
Jan 16, 2019 2:04:35 PM (5 years ago)
Author:
Matt Baker
Message:

Web Inspector: Fix TreeOutline TypeError:​ this._indexesForSubtree is not a function
https://bugs.webkit.org/show_bug.cgi?id=193501
<rdar://problem/47323967>

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/TreeOutline.js:

(WI.TreeOutline.prototype.removeChildAtIndex):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r239976 r240051  
     12019-01-16  Matt Baker  <mattbaker@apple.com>
     2
     3        Web Inspector: Fix TreeOutline TypeError:​ this._indexesForSubtree is not a function
     4        https://bugs.webkit.org/show_bug.cgi?id=193501
     5        <rdar://problem/47323967>
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * UserInterface/Views/TreeOutline.js:
     10        (WI.TreeOutline.prototype.removeChildAtIndex):
     11
    1122019-01-15  Devin Rousso  <drousso@apple.com>
    213
  • trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js

    r239870 r240051  
    324324        }
    325325
     326        let removedIndexes = null;
     327
    326328        let treeOutline = child.treeOutline;
    327329        if (treeOutline) {
    328330            treeOutline._forgetTreeElement(child);
    329331            treeOutline._forgetChildrenRecursive(child);
    330         }
    331 
    332         let removedIndexes = this._indexesForSubtree(child);
     332            removedIndexes = treeOutline._indexesForSubtree(child);
     333        }
    333334
    334335        if (child.previousSibling)
Note: See TracChangeset for help on using the changeset viewer.