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

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

Issue 1315373005: DevTools: remove most convenience wrappers from WI.TimelineModel.Record (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/tracing/timeline-coalescing.html
diff --git a/LayoutTests/inspector/tracing/timeline-coalescing.html b/LayoutTests/inspector/tracing/timeline-coalescing.html
index 5675052a55dce64eaa6afd1089a61f83cdf70652..e7dac638ebbc4297e1ad39c3477d3a0cd9a0efa7 100644
--- a/LayoutTests/inspector/tracing/timeline-coalescing.html
+++ b/LayoutTests/inspector/tracing/timeline-coalescing.html
@@ -12,13 +12,14 @@ InspectorTest.dumpStats = function(presentationRecord)
if (!presentationRecord.presentationParent())
return "";
+ var model = InspectorTest.timelineModel();
var aggregatedStats = {};
if (presentationRecord.coalesced()) {
var presentationChildren = presentationRecord.presentationChildren();
for (var i = 0; i < presentationChildren.length; ++i)
- WebInspector.TimelineUIUtils.aggregateTimeForRecord(aggregatedStats, presentationChildren[i].record());
+ WebInspector.TimelineUIUtils.aggregateTimeForRecord(aggregatedStats, model, presentationChildren[i].record());
} else {
- WebInspector.TimelineUIUtils.aggregateTimeForRecord(aggregatedStats, presentationRecord.record());
+ WebInspector.TimelineUIUtils.aggregateTimeForRecord(aggregatedStats, model, presentationRecord.record());
}
var timeByCategory = "";

Powered by Google App Engine
This is Rietveld 408576698