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

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

Issue 622843002: DevTools: Support timeline JS sampling for all threads. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. 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/timeline/TracingModel.js
diff --git a/Source/devtools/front_end/timeline/TracingModel.js b/Source/devtools/front_end/timeline/TracingModel.js
index 4877ded527be345efa1d48a2b9f1832427c6cdf8..005ce141f06d6ea328faf977ae425b5f392ecab7 100644
--- a/Source/devtools/front_end/timeline/TracingModel.js
+++ b/Source/devtools/front_end/timeline/TracingModel.js
@@ -808,7 +808,7 @@ WebInspector.TracingModel.Thread.prototype = {
target: function()
{
//FIXME: correctly specify target
yurys 2014/11/11 10:37:32 We should add a test for the cpu profiler integrat
alph 2014/11/11 10:59:26 Acknowledged.
- return WebInspector.targetManager.targets()[0] || null;
+ return this.name() === "CrRendererMain" ? WebInspector.targetManager.targets()[0] || null : null;
yurys 2014/11/11 10:37:32 if (this.name() === "CrRendererMain") return W
alph 2014/11/11 10:59:26 Done.
},
/**
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineJSProfile.js ('k') | Source/devtools/front_end/timeline/TracingTimelineModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698