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

Unified Diff: LayoutTests/inspector/timeline/timeline-filtering.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-filtering.html
diff --git a/LayoutTests/inspector/timeline/timeline-filtering.html b/LayoutTests/inspector/timeline/timeline-filtering.html
index b17f222fb581437076c2ebba8fe9bc8e36f25b02..2e3476aeffa71eeebafc79240ae9eddafd975011 100644
--- a/LayoutTests/inspector/timeline/timeline-filtering.html
+++ b/LayoutTests/inspector/timeline/timeline-filtering.html
@@ -44,12 +44,12 @@ function test()
function printRecord(record)
{
var prefix = [];
- var current = record.parent;
+ var current = record.presentationParent();
while (current) {
- current = current.parent;
+ current = current.presentationParent();
prefix.push(" ");
}
- var mark = record.expandable ? (record.collapsed ? "+" : "-") : " ";
+ var mark = record.expandable() ? (record.collapsed() ? "+" : "-") : " ";
InspectorTest.addResult(prefix.join("") + mark + record._record.data.message);
}
@@ -76,7 +76,7 @@ function test()
for (var i = 0; i < records.length; ++i) {
var record = records[i];
if (collapseList[record._record.data.message]) {
- record.collapsed = true;
+ record.setCollapsed(true);
record.clicked = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698