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

Unified Diff: LayoutTests/http/tests/inspector/timeline-test.js

Issue 713913002: DevTools: merge TracingTimelineUIUtils into TimelineUIUtils (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Deleted instance refs Created 6 years, 1 month 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 | LayoutTests/inspector/tracing/timeline-coalescing.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/timeline-test.js
diff --git a/LayoutTests/http/tests/inspector/timeline-test.js b/LayoutTests/http/tests/inspector/timeline-test.js
index 55e8df1959ea954e0a4474fe2758d111da81be96..5109ad0ca11adfee240c20dc235027b603d53072 100644
--- a/LayoutTests/http/tests/inspector/timeline-test.js
+++ b/LayoutTests/http/tests/inspector/timeline-test.js
@@ -55,11 +55,6 @@ InspectorTest.timelineFrameModel = function()
return WebInspector.panels.timeline._frameModel();
}
-InspectorTest.timelineUIUtils = function()
-{
- return WebInspector.panels.timeline._uiUtils;
-}
-
InspectorTest.startTimeline = function(callback)
{
var panel = WebInspector.panels.timeline;
@@ -186,7 +181,7 @@ InspectorTest.dumpTimelineRecord = function(record, detailsCallback, level, filt
message = message + "> ";
if (record.type() === WebInspector.TimelineModel.RecordType.TimeStamp
|| record.type() === WebInspector.TimelineModel.RecordType.ConsoleTime) {
- message += InspectorTest.timelineUIUtils().titleForRecord(record);
+ message += WebInspector.TimelineUIUtils.titleForRecord(record);
} else {
message += record.type();
}
@@ -236,7 +231,7 @@ InspectorTest.dumpPresentationRecord = function(presentationRecord, detailsCallb
message += record.type() + " x " + presentationRecord.presentationChildren().length;
} else if (record.type() === WebInspector.TimelineModel.RecordType.TimeStamp
|| record.type() === WebInspector.TimelineModel.RecordType.ConsoleTime) {
- message += InspectorTest.timelineUIUtils().titleForRecord(record);
+ message += WebInspector.TimelineUIUtils.titleForRecord(record);
} else {
message += record.type();
}
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-coalescing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698