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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 1739193003: Timeline: extract and rename TracingModelLoader into a file of its own (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also moved loadTimelineFrom to TimelineLoader 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/Source/devtools/front_end/timeline/TimelinePanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
index 8a67949084aad23c39ceac0d50071a0b65d52c79..dab326240c4b5760d3696fbc384d35a17fc5f0ff 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -536,7 +536,7 @@ WebInspector.TimelinePanel.prototype = {
{
if (this._state !== WebInspector.TimelinePanel.State.Idle)
return;
- this._model.loadFromFile(file, this._prepareToLoadTimeline());
+ WebInspector.TimelineLoader.loadFromFile(this._model, file, this._prepareToLoadTimeline());
this._createFileSelector();
},
@@ -547,7 +547,7 @@ WebInspector.TimelinePanel.prototype = {
{
if (this._state !== WebInspector.TimelinePanel.State.Idle)
return;
- this._model.loadFromURL(url, this._prepareToLoadTimeline());
+ WebInspector.TimelineLoader.loadFromURL(this._model, url, this._prepareToLoadTimeline());
},
_refreshViews: function()

Powered by Google App Engine
This is Rietveld 408576698