Changeset 128171 in webkit
- Timestamp:
- Sep 11, 2012 4:54:59 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r128166 r128171 1 2012-09-11 Alexander Pavlov <apavlov@chromium.org> 2 3 Web Inspector: Remove no-op TreeElement.prototype.didChange method 4 https://bugs.webkit.org/show_bug.cgi?id=96376 5 6 Reviewed by Yury Semikhatsky. 7 8 * inspector/front-end/treeoutline.js: 9 (TreeElement.prototype.set title): 10 (TreeElement.prototype.set tooltip): 11 (TreeElement.prototype.set hasChildren): 12 1 13 2012-09-11 Tommy Widenflycht <tommyw@google.com> 2 14 -
trunk/Source/WebCore/inspector/front-end/treeoutline.js
r126430 r128171 624 624 this._title = x; 625 625 this._setListItemNodeContent(); 626 this.didChange();627 626 }, 628 627 … … 635 634 if (this._listItemNode) 636 635 this._listItemNode.title = x ? x : ""; 637 this.didChange();638 636 }, 639 637 … … 657 655 this.collapse(); 658 656 } 659 660 this.didChange();661 657 }, 662 658 … … 692 688 if (x && this.expanded) 693 689 this.expand(); 694 },695 696 _fireDidChange: function()697 {698 delete this._didChangeTimeoutIdentifier;699 },700 701 didChange: function()702 {703 if (!this.treeOutline)704 return;705 706 // Prevent telling the TreeOutline multiple times in a row by delaying it with a timeout.707 if (!this._didChangeTimeoutIdentifier)708 this._didChangeTimeoutIdentifier = setTimeout(this._fireDidChange.bind(this), 0);709 690 }, 710 691
Note: See TracChangeset
for help on using the changeset viewer.