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

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

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | « Source/devtools/front_end/sdk/WorkerManager.js ('k') | Source/devtools/front_end/timeline/TimelinePanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/timeline/CountersGraph.js
diff --git a/Source/devtools/front_end/timeline/CountersGraph.js b/Source/devtools/front_end/timeline/CountersGraph.js
index d135e7e1e5008b9d01ae9b8bbc02bacd27db1a19..3fe10baea57ee1ed36d85cacd57986c57e92bc66 100644
--- a/Source/devtools/front_end/timeline/CountersGraph.js
+++ b/Source/devtools/front_end/timeline/CountersGraph.js
@@ -74,6 +74,14 @@ WebInspector.CountersGraph = function(title, delegate, model)
}
WebInspector.CountersGraph.prototype = {
+ /**
+ * @return {?WebInspector.Target}
+ */
+ target: function()
+ {
+ return this._model.target();
+ },
+
_createCurrentValuesBar: function()
{
this._currentValuesBar = this._graphsContainer.element.createChild("div");
« no previous file with comments | « Source/devtools/front_end/sdk/WorkerManager.js ('k') | Source/devtools/front_end/timeline/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698