Changeset 109221 in webkit


Ignore:
Timestamp:
Feb 29, 2012 9:35:22 AM (12 years ago)
Author:
caseq@chromium.org
Message:

Web Inspector: timeline markers are not shown on the timeline panel
https://bugs.webkit.org/show_bug.cgi?id=79921

Reviewed by Pavel Feldman.

  • inspector/front-end/TimelinePanel.js:

(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.addTimestampRecords):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109220 r109221  
     12012-02-29  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Web Inspector: timeline markers are not shown on the timeline panel
     4        https://bugs.webkit.org/show_bug.cgi?id=79921
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/TimelinePanel.js:
     9        (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.addTimestampRecords):
     10        (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
     11
    1122012-02-29  Kenichi Ishibashi  <bashi@chromium.org>
    213
  • trunk/Source/WebCore/inspector/front-end/TimelinePanel.js

    r109216 r109221  
    460460        ++this._allRecordsCount;
    461461        var recordTypes = WebInspector.TimelineModel.RecordType;
    462         if (record.type === recordTypes.MarkDOMContent || record.type === recordTypes.MarkLoad || record.type === recordTypes.TimeStamp)
    463             this._timeStampRecords.push(formattedRecord);
     462        var timeStampRecords = this._timeStampRecords;
     463        function addTimestampRecords(record)
     464        {
     465            if (record.type === recordTypes.MarkDOMContent || record.type === recordTypes.MarkLoad || record.type === recordTypes.TimeStamp)
     466                timeStampRecords.push(record);
     467        }
     468        WebInspector.TimelinePanel.forAllRecords([ formattedRecord ], addTimestampRecords);
    464469    },
    465470
Note: See TracChangeset for help on using the changeset viewer.