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 0261d4ab0f0950f818222deade090011bc08ab06..fab309a6135aee4e06b8aa68f74ef8394e83b327 100644 |
--- a/Source/devtools/front_end/timeline/TracingModel.js |
+++ b/Source/devtools/front_end/timeline/TracingModel.js |
@@ -467,6 +467,16 @@ WebInspector.TracingModel.Thread = function(process, id) |
} |
WebInspector.TracingModel.Thread.prototype = { |
+ |
+ /** |
+ * @return {?WebInspector.Target} |
+ */ |
+ target: function() |
+ { |
+ //FIXME: correctly specify target |
+ return WebInspector.targetManager.targets()[0]; |
+ }, |
+ |
/** |
* @param {!WebInspector.TracingModel.EventPayload} payload |
* @return {?WebInspector.TracingModel.Event} event |