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

Unified Diff: LayoutTests/inspector/timeline/trace-event-self-time.html

Issue 310313003: Introduce TracingTimelineModel (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 | LayoutTests/inspector/timeline/tracing/decode-resize.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/timeline/trace-event-self-time.html
diff --git a/LayoutTests/inspector/timeline/trace-event-self-time.html b/LayoutTests/inspector/timeline/trace-event-self-time.html
index ddd5c1ec850940d06b93cccaab2f86d052b1b230..517a879918a766e20bff106b29aee5c24c2c1775 100644
--- a/LayoutTests/inspector/timeline/trace-event-self-time.html
+++ b/LayoutTests/inspector/timeline/trace-event-self-time.html
@@ -189,12 +189,13 @@ function test()
];
var model = new WebInspector.TracingModel();
+ var tracineTimelineModel = new WebInspector.TracingTimelineModel(model);
+ tracineTimelineModel.willStartRecordingTraceEvents();
model.setSessionIdForTest(sessionId);
model._eventsCollected(rawTraceEvents);
model._tracingComplete();
- var events = model.inspectedTargetEvents();
- var bindings = new WebInspector.TimelineTraceEventBindings();
- bindings.setEvents(events);
+ tracineTimelineModel.didStopRecordingTraceEvents();
+ var events = tracineTimelineModel.inspectedTargetEvents();
InspectorTest.assertEquals(8, events.length);
var eventTimes = events.map(function(e)
{
« no previous file with comments | « no previous file | LayoutTests/inspector/timeline/tracing/decode-resize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698