Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: LayoutTests/inspector/timeline/timeline-coalescing.html

Issue 183893010: DevTools: extract TimelineModel.Record from TimelinePresentationModel.Record. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698