Index: LayoutTests/inspector/timeline/timeline-coalescing.html |
diff --git a/LayoutTests/inspector/timeline/timeline-coalescing.html b/LayoutTests/inspector/timeline/timeline-coalescing.html |
index 0f71a6e639fb2cd4fcb2e011959b2d4677d762e8..dc7527ad097b1acaa7fd71c828b4357d4022e662 100644 |
--- a/LayoutTests/inspector/timeline/timeline-coalescing.html |
+++ b/LayoutTests/inspector/timeline/timeline-coalescing.html |
@@ -7,11 +7,11 @@ |
function initialize_TimelineCoalescing() |
{ |
-InspectorTest.dumpStats = function(record) |
+InspectorTest.dumpStats = function(presentationRecord) |
{ |
- if (record.type() === "Root") |
+ if (!presentationRecord.presentationParent()) |
return ""; |
- var aggregatedStats = record.aggregatedStats(); |
+ var aggregatedStats = presentationRecord.presentationAggregatedStats(); |
var timeByCategory = ""; |
for (category in aggregatedStats) { |
@@ -19,8 +19,8 @@ InspectorTest.dumpStats = function(record) |
timeByCategory += ", "; |
timeByCategory += category + ": " + aggregatedStats[category].toFixed(5); |
} |
- var duration = (record.endTime() - record.startTime()).toFixed(5); |
- var durationTillLastChild = (record.endTime() - record.startTime()).toFixed(5); |
+ var duration = (presentationRecord.endTime() - presentationRecord.startTime()).toFixed(5); |
+ var durationTillLastChild = (presentationRecord.endTime() - presentationRecord.startTime()).toFixed(5); |
return "duration: " + duration + ":" + durationTillLastChild + (timeByCategory ? " (" + timeByCategory + ")" : ""); |
} |