Title: [109221] trunk/Source/WebCore
- Revision
- 109221
- Author
- [email protected]
- Date
- 2012-02-29 09:35:22 -0800 (Wed, 29 Feb 2012)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (109220 => 109221)
--- trunk/Source/WebCore/ChangeLog 2012-02-29 17:07:00 UTC (rev 109220)
+++ trunk/Source/WebCore/ChangeLog 2012-02-29 17:35:22 UTC (rev 109221)
@@ -1,3 +1,14 @@
+2012-02-29 Andrey Kosyakov <[email protected]>
+
+ 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):
+
2012-02-29 Kenichi Ishibashi <[email protected]>
Align InlineBox::m_expansion to a byte boundary
Modified: trunk/Source/WebCore/inspector/front-end/TimelinePanel.js (109220 => 109221)
--- trunk/Source/WebCore/inspector/front-end/TimelinePanel.js 2012-02-29 17:07:00 UTC (rev 109220)
+++ trunk/Source/WebCore/inspector/front-end/TimelinePanel.js 2012-02-29 17:35:22 UTC (rev 109221)
@@ -459,8 +459,13 @@
var formattedRecord = this._presentationModel.addRecord(record, parentRecord);
++this._allRecordsCount;
var recordTypes = WebInspector.TimelineModel.RecordType;
- if (record.type === recordTypes.MarkDOMContent || record.type === recordTypes.MarkLoad || record.type === recordTypes.TimeStamp)
- this._timeStampRecords.push(formattedRecord);
+ var timeStampRecords = this._timeStampRecords;
+ function addTimestampRecords(record)
+ {
+ if (record.type === recordTypes.MarkDOMContent || record.type === recordTypes.MarkLoad || record.type === recordTypes.TimeStamp)
+ timeStampRecords.push(record);
+ }
+ WebInspector.TimelinePanel.forAllRecords([ formattedRecord ], addTimestampRecords);
},
sidebarResized: function(event)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes