Changeset 147425 in webkit
- Timestamp:
- Apr 2, 2013 6:46:45 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147422 r147425 1 2013-04-02 Andrey Kosyakov <caseq@chromium.org> 2 3 Web Inspector: ignore minimum record duration filter in Timeline overview 4 https://bugs.webkit.org/show_bug.cgi?id=113705 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/TimelineOverviewPane.js: 9 * inspector/front-end/TimelinePanel.js: 10 (WebInspector.TimelinePanel.prototype._durationFilterChanged): 11 1 12 2013-03-29 Andrey Kosyakov <caseq@chromium.org> 2 13 -
trunk/Source/WebCore/inspector/front-end/TimelineOverviewPane.js
r147220 r147425 316 316 }, 317 317 318 /**319 * @param {number} value320 */321 setMinimumRecordDuration: function(value)322 {323 this._eventOverview.setMinimumRecordDuration(value);324 },325 326 318 _scheduleRefresh: function() 327 319 { … … 536 528 537 529 this._context = this._canvas.getContext("2d"); 538 this._minimumRecordDuration = 0;539 530 540 531 this._fillStyles = {}; … … 579 570 function appendRecord(record) 580 571 { 581 if (!!this._minimumRecordDuration && (WebInspector.TimelineModel.durationInSeconds(record) < this._minimumRecordDuration))582 return;583 572 if (record.type === WebInspector.TimelineModel.RecordType.BeginFrame) 584 573 return; … … 607 596 }, 608 597 609 /**610 * @param {number} value611 */612 setMinimumRecordDuration: function(value)613 {614 this._minimumRecordDuration = value;615 this.update();616 },617 618 598 _renderBar: function(begin, end, category) 619 599 { -
trunk/Source/WebCore/inspector/front-end/TimelinePanel.js
r147204 r147425 603 603 var minimumRecordDuration = +option._durationMs / 1000.0; 604 604 this._durationFilter.setMinimumRecordDuration(minimumRecordDuration); 605 this._overviewPane.setMinimumRecordDuration(minimumRecordDuration);606 605 this._durationFilterSelector.element.title = option.title; 607 606 this._invalidateAndScheduleRefresh(true, true);
Note: See TracChangeset
for help on using the changeset viewer.