Index: Source/devtools/front_end/timeline/TimelineTracingView.js |
diff --git a/Source/devtools/front_end/timeline/TimelineTracingView.js b/Source/devtools/front_end/timeline/TimelineTracingView.js |
index e07032b96a83b066801d712c1bd8588585461757..35b009379a27d72b263268c42fc3c54b105879df 100644 |
--- a/Source/devtools/front_end/timeline/TimelineTracingView.js |
+++ b/Source/devtools/front_end/timeline/TimelineTracingView.js |
@@ -135,7 +135,9 @@ WebInspector.TimelineTracingView.prototype = { |
var recordTypes = WebInspector.TracingTimelineModel.RecordType; |
switch (record.name) { |
case recordTypes.PictureSnapshot: |
- WebInspector.TracingTimelineUIUtils.buildPicturePreviewContent(this._tracingModel.target(), record.args["snapshot"]["skp64"], appendPreviewAndShowDetails.bind(this)); |
+ var target = record.thread.target(); |
+ if (target) |
caseq
2014/07/17 16:36:44
We still need to show some details when the target
sergeyv
2014/07/17 17:07:07
Done.
|
+ WebInspector.TracingTimelineUIUtils.buildPicturePreviewContent(target, record.args["snapshot"]["skp64"], appendPreviewAndShowDetails.bind(this)); |
break; |
case recordTypes.LayerTreeHostImplSnapshot: |
var link = document.createElement("span"); |