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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html

Issue 1754713002: Reland of Timeline: extract and rename TracingModelLoader into a file of its own (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html
index 6ddbd6d28bf9c0c04c2cf66af773e0c1fd6d997c..3bfdbde879a95790f37d487dd997673b1f3b4af0 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-window-filter.html
@@ -7,20 +7,11 @@
function test()
{
- var timelineData = InspectorTest.timelineData();
-
var timeline = WebInspector.panels.timeline;
var overviewPane = timeline._overviewPane;
- var model = timeline._model;
- function createFileReader(file, delegate)
- {
- return new InspectorTest.FakeFileReader(timelineData, delegate, timeline._saveToFile.bind(timeline));
- }
+ InspectorTest.loadTimeline(InspectorTest.timelineData());
- InspectorTest.override(model, "_createFileReader", createFileReader);
-
- model.loadFromFile({}, new WebInspector.Progress());
timeline._currentViews[0].refreshRecords();
overviewPane._update();

Powered by Google App Engine
This is Rietveld 408576698