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

Unified Diff: LayoutTests/inspector/timeline/trace-event-self-time.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/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 cfab4174e4e5c5c5633cc8fd4062718ad9719e7d..8dabb4c3ff021b94475670fecb2d42eb22c31b6c 100644
--- a/LayoutTests/inspector/timeline/trace-event-self-time.html
+++ b/LayoutTests/inspector/timeline/trace-event-self-time.html
@@ -1,7 +1,6 @@
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../tracing-test.js"></script>
<script>
function test()
{
@@ -188,11 +187,9 @@ function test()
}
];
- var model = InspectorTest.tracingModel;
+ var model = new WebInspector.TracingModel();
var tracingTimelineModel = new WebInspector.TracingTimelineModel(model);
- tracingTimelineModel.willStartRecordingTraceEvents();
- model.setEventsForTest(sessionId, rawTraceEvents);
- tracingTimelineModel.didStopRecordingTraceEvents();
+ tracingTimelineModel.setEventsForTest(sessionId, rawTraceEvents);
var events = tracingTimelineModel.inspectedTargetEvents();
InspectorTest.assertEquals(8, events.length);
var eventTimes = events.map(function(e)

Powered by Google App Engine
This is Rietveld 408576698