Changeset 244199 in webkit
- Timestamp:
- Apr 11, 2019 3:56:40 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r244195 r244199 1 2019-04-11 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION(r244195): Timelines: unable to take heap snapshot 4 https://bugs.webkit.org/show_bug.cgi?id=196832 5 <rdar://problem/49828862> 6 7 Reviewed by Simon Fraser. 8 9 * UserInterface/Controllers/TimelineManager.js: 10 (WI.TimelineManager.prototype.heapSnapshotAdded): 11 (WI.TimelineManager.prototype._addRecord): 12 Heap snapshots can be taken outside of a timeline recording, so remove the early return (and 13 assertion) that checks for an active recording before adding the heap snapshot record. 14 1 15 2019-04-11 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js
r244195 r244199 583 583 // Called from WI.HeapAllocationsInstrument. 584 584 585 console.assert(this.isCapturing());586 if (!this.isCapturing())587 return;588 589 585 this._addRecord(new WI.HeapAllocationsTimelineRecord(timestamp, snapshot)); 590 586 } … … 861 857 _addRecord(record) 862 858 { 863 console.assert(this.isCapturing());864 865 859 this._activeRecording.addRecord(record); 866 860
Note: See TracChangeset
for help on using the changeset viewer.