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

Unified Diff: Source/devtools/front_end/timeline/TimelineModelImpl.js

Issue 397313003: DevTools: Remove target function from TimelineModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase once more Created 6 years, 5 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: Source/devtools/front_end/timeline/TimelineModelImpl.js
diff --git a/Source/devtools/front_end/timeline/TimelineModelImpl.js b/Source/devtools/front_end/timeline/TimelineModelImpl.js
index 68b69a282c5b89e822f0d6c8ab7a0231f2318250..272589d0e332fbb1325b77299ac646d6c73d20ab 100644
--- a/Source/devtools/front_end/timeline/TimelineModelImpl.js
+++ b/Source/devtools/front_end/timeline/TimelineModelImpl.js
@@ -9,7 +9,8 @@
*/
WebInspector.TimelineModelImpl = function(timelineManager)
{
- WebInspector.TimelineModel.call(this, timelineManager.target());
+ WebInspector.TimelineModel.call(this);
+ this._target = timelineManager.target();
this._timelineManager = timelineManager;
this._filters = [];
this._bindings = new WebInspector.TimelineModelImpl.InterRecordBindings();
@@ -395,7 +396,7 @@ WebInspector.TimelineModel.RecordImpl.prototype = {
*/
target: function()
{
- return this._model.target();
+ return this._model._target;
},
/**
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineModel.js ('k') | Source/devtools/front_end/timeline/TimelinePaintProfilerView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698