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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js

Issue 1807093002: DevTools: Resume targets *after* stopping timeline recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing caseq comment. Created 4 years, 9 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 | third_party/WebKit/LayoutTests/inspector/tracing/buffer-usage.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js
index 6b13a8755a6f2932faefe09e8321a3d8b145a1b4..e7bd26fd9d7b999f729cb8f7d47ed21c9b3bf03c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js
@@ -121,7 +121,9 @@ InspectorTest.createTimelineModelWithEvents = function(events)
InspectorTest.timelineController = function()
{
- return WebInspector.panels.timeline._controller;
+ var mainTarget = WebInspector.targetManager.mainTarget();
+ var timelinePanel = WebInspector.panels.timeline;
+ return new WebInspector.TimelineController(mainTarget, timelinePanel, timelinePanel._tracingModel);
}
InspectorTest.startTimeline = function(callback)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/tracing/buffer-usage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698