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

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

Issue 717243002: Timeline: do not imply event.thread.target is the main target (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: avoid keep stale model in TimelineFrameModel 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
Index: LayoutTests/inspector/tracing/frame-model.html
diff --git a/LayoutTests/inspector/tracing/frame-model.html b/LayoutTests/inspector/tracing/frame-model.html
index 1018c6ff099562c94fe82c907ba4da6e90f9f9ff..f4e730c27671e8e09c3138f6404c00fc4f38274f 100644
--- a/LayoutTests/inspector/tracing/frame-model.html
+++ b/LayoutTests/inspector/tracing/frame-model.html
@@ -212,14 +212,14 @@ function test()
]
};
- var frameModel = new WebInspector.TracingTimelineFrameModel(WebInspector.targetManager.mainTarget());
+ var frameModel = new WebInspector.TracingTimelineFrameModel();
function loadEvents(events)
{
var tracingTimelineModel = InspectorTest.tracingTimelineModel();
tracingTimelineModel.setEventsForTest(events);
frameModel.reset();
- frameModel.addTraceEvents(tracingTimelineModel.inspectedTargetEvents());
+ frameModel.addTraceEvents(WebInspector.targetManager.mainTarget(), tracingTimelineModel.inspectedTargetEvents());
}
for (var testName in testData) {
« no previous file with comments | « LayoutTests/inspector/layers/tracing-layer-tree-expected.txt ('k') | LayoutTests/inspector/tracing/layer-tree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698