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

Unified Diff: LayoutTests/inspector/tracing/timeline-layout-reason.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-layout-reason.html
diff --git a/LayoutTests/inspector/tracing/timeline-layout-reason.html b/LayoutTests/inspector/tracing/timeline-layout-reason.html
index 71f17f733164dc6cfedd37d8b6e8f6e9c51f91bc..66b0c55e6c66def16d5de3dda1d008f8338dd8e1 100644
--- a/LayoutTests/inspector/tracing/timeline-layout-reason.html
+++ b/LayoutTests/inspector/tracing/timeline-layout-reason.html
@@ -31,8 +31,8 @@ function test()
function onTimelineRecorded()
{
var layoutRecord = InspectorTest.findFirstTimelineRecord("Layout");
- InspectorTest.addResult("layout invalidated: " + layoutRecord.callSiteStackTrace()[0].functionName);
- InspectorTest.addResult("layout forced: " + layoutRecord.stackTrace()[0].functionName);
+ InspectorTest.addResult("layout invalidated: " + layoutRecord.traceEvent().initiator.args["data"]["stackTrace"][0].functionName);
+ InspectorTest.addResult("layout forced: " + layoutRecord.traceEvent().args["beginData"]["stackTrace"][0].functionName);
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698