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

Unified Diff: LayoutTests/inspector/timeline/tracing/frame-model.html

Issue 318343003: Move trace event based implementation parts of TimelineModel into 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
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());
}

Powered by Google App Engine
This is Rietveld 408576698