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

Unified Diff: LayoutTests/inspector/tracing/timeline-paint.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-paint.html
diff --git a/LayoutTests/inspector/tracing/timeline-paint.html b/LayoutTests/inspector/tracing/timeline-paint.html
index f053a21f6dfd371be75584210739cd8d4d08e1ac..0557b71b91de9e9d659372be1c37615398e25015 100644
--- a/LayoutTests/inspector/tracing/timeline-paint.html
+++ b/LayoutTests/inspector/tracing/timeline-paint.html
@@ -40,9 +40,9 @@ function test()
{
var paintRecord = InspectorTest.findFirstTimelineRecord(WebInspector.TimelineModel.RecordType.Paint);
InspectorTest.assertTrue(paintRecord, "Paint record with subframe paint not found");
- var topQuad = paintRecord.data().clip;
+ var topQuad = paintRecord.traceEvent().args["data"].clip;
var subframePaint = paintRecord.children()[0];
- var subframeQuad = subframePaint.data().clip;
+ var subframeQuad = subframePaint.traceEvent().args["data"].clip;
InspectorTest.assertEquals(8, topQuad.length);
InspectorTest.assertEquals(8, subframeQuad.length);
InspectorTest.assertGreaterOrEqual(subframeQuad[0], topQuad[0]);

Powered by Google App Engine
This is Rietveld 408576698