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

Unified Diff: LayoutTests/inspector/tracing/timeline-filtering.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-filtering.html
diff --git a/LayoutTests/inspector/tracing/timeline-filtering.html b/LayoutTests/inspector/tracing/timeline-filtering.html
index afd39c2b82a08ca59f5d543fb00b02bb92a530ff..681608b521a4689fe995aa539f3ab3570828873c 100644
--- a/LayoutTests/inspector/tracing/timeline-filtering.html
+++ b/LayoutTests/inspector/tracing/timeline-filtering.html
@@ -64,7 +64,7 @@ function test()
prefix.push(" ");
}
var mark = record.expandable() ? (record.collapsed() ? "+" : "-") : " ";
- InspectorTest.addResult(prefix.join("") + mark + record.record().data().message);
+ InspectorTest.addResult(prefix.join("") + mark + record.record().traceEvent().args["data"].message);
}
function dumpRecords()
@@ -87,7 +87,7 @@ function test()
var collapseList = {"bar04":true, "foo13": true};
for (var i = 0; i < records.length; ++i) {
var record = records[i];
- if (collapseList[record.record().data().message])
+ if (collapseList[record.record().traceEvent().args["data"].message])
record.setCollapsed(true);
}
model.invalidateFilteredRecords();

Powered by Google App Engine
This is Rietveld 408576698