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/timeline/timeline-script-tag-1.html

Issue 337283004: Inline usages of TimelineUIUtils.categoryForRecord (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/TimelineEventOverview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/timeline/timeline-script-tag-1.html
diff --git a/LayoutTests/inspector/timeline/timeline-script-tag-1.html b/LayoutTests/inspector/timeline/timeline-script-tag-1.html
index 66e97e2b62cd8a77ed4453add3539f2aaaaed557..e580f9a8de16839f5ac0e41954326139f31da62b 100644
--- a/LayoutTests/inspector/timeline/timeline-script-tag-1.html
+++ b/LayoutTests/inspector/timeline/timeline-script-tag-1.html
@@ -36,7 +36,7 @@ function test()
var skipCategories = { rendering: true, painting: true };
for (var i = 0; i < record.children.length; ++i) {
var modelRecord = new WebInspector.TimelineModel.RecordImpl(WebInspector.panels.timeline._model, record.children[i], null);
- if (!skipCategories[WebInspector.TimelineUIUtils.categoryForRecord(modelRecord).name])
+ if (!skipCategories[modelRecord.category().name])
children.push(record.children[i]);
}
record.children = children;
« no previous file with comments | « no previous file | Source/devtools/front_end/timeline/TimelineEventOverview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698