| Index: LayoutTests/inspector/timeline/tracing/frame-model.html
|
| diff --git a/LayoutTests/inspector/timeline/tracing/frame-model.html b/LayoutTests/inspector/timeline/tracing/frame-model.html
|
| index 3814c665b4867b1e870bf26c54353d79d9af725f..72bd428d56b04ddb0a268b592b69e50edb6e7fec 100644
|
| --- a/LayoutTests/inspector/timeline/tracing/frame-model.html
|
| +++ b/LayoutTests/inspector/timeline/tracing/frame-model.html
|
| @@ -212,14 +212,12 @@ function test()
|
| ]
|
| };
|
|
|
| - var tracingTimelineModel = new WebInspector.TracingTimelineModel(InspectorTest.tracingModel);
|
| var frameModel = new WebInspector.TimelineFrameModel(WebInspector.targetManager.activeTarget());
|
|
|
| function loadEvents(events)
|
| {
|
| - tracingTimelineModel.willStartRecordingTraceEvents();
|
| - InspectorTest.tracingModel.setEventsForTest(sessionId, events);
|
| - tracingTimelineModel.didStopRecordingTraceEvents();
|
| + var tracingTimelineModel = InspectorTest.tracingTimelineModel;
|
| + tracingTimelineModel.setEventsForTest(sessionId, events);
|
| frameModel.reset();
|
| frameModel.addTraceEvents(tracingTimelineModel.inspectedTargetEvents());
|
| }
|
|
|