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

Unified Diff: Source/devtools/front_end/sdk/TracingManager.js

Issue 717243002: Timeline: do not imply event.thread.target is the main target (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: avoid keep stale model in TimelineFrameModel Created 6 years, 1 month 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/sdk/TracingManager.js
diff --git a/Source/devtools/front_end/sdk/TracingManager.js b/Source/devtools/front_end/sdk/TracingManager.js
index 0d31cb9882d275ce639cdf86524a202c1aa6a2f5..204a6edd50d6b47201d0c21c406930e0397f33b8 100644
--- a/Source/devtools/front_end/sdk/TracingManager.js
+++ b/Source/devtools/front_end/sdk/TracingManager.js
@@ -62,6 +62,14 @@ WebInspector.TracingManager.prototype = {
},
/**
+ * @return {?WebInspector.Target}
+ */
+ target: function()
+ {
+ return this._target;
+ },
+
+ /**
* @param {number} usage
*/
_bufferUsage: function(usage)

Powered by Google App Engine
This is Rietveld 408576698