Index: LayoutTests/inspector/timeline/timeline-coalescing.html |
diff --git a/LayoutTests/inspector/timeline/timeline-coalescing.html b/LayoutTests/inspector/timeline/timeline-coalescing.html |
index 3d732bcf8dcb60e47b6a61ef196fc990fcc0dff3..6ed39aa4867a01f345014750f3c9edd592a6e268 100644 |
--- a/LayoutTests/inspector/timeline/timeline-coalescing.html |
+++ b/LayoutTests/inspector/timeline/timeline-coalescing.html |
@@ -9,7 +9,7 @@ function initialize_TimelineCoalescing() |
InspectorTest.dumpStats = function(record) |
{ |
- if (!record.parent) |
+ if (record.type === "Root") |
return ""; |
var aggregatedStats = record.aggregatedStats; |
var timeByCategory = ""; |
@@ -84,8 +84,8 @@ function test() |
InspectorTest.loadTimelineRecords(records); |
var rootRecord = InspectorTest.timelinePresentationModel().rootRecord(); |
- InspectorTest.dumpTimelineRecord(rootRecord, InspectorTest.dumpStats); |
- var coalesced = rootRecord.children[0]; |
+ InspectorTest.dumpPresentationRecord(rootRecord, InspectorTest.dumpStats); |
+ var coalesced = rootRecord.presentationChildren()[0]; |
InspectorTest.addResult("coalesced record's hasWarnings(): " + coalesced.hasWarnings()); |
InspectorTest.addResult("coalesced record's childHasWarnings(): " + coalesced.childHasWarnings()); |
InspectorTest.completeTest(); |