| Index: Source/devtools/front_end/profiler/HeapSnapshotView.js
|
| diff --git a/Source/devtools/front_end/profiler/HeapSnapshotView.js b/Source/devtools/front_end/profiler/HeapSnapshotView.js
|
| index e3c29a1e0485980c07b24b1635a46ded90109843..b699de86528dec1ecd6998a1258906fb1d6bdded 100644
|
| --- a/Source/devtools/front_end/profiler/HeapSnapshotView.js
|
| +++ b/Source/devtools/front_end/profiler/HeapSnapshotView.js
|
| @@ -755,7 +755,7 @@ WebInspector.HeapSnapshotView.prototype = {
|
| {
|
| var selectedNode = event.target.selectedNode;
|
| var target = this._profile.target();
|
| - if (!target && selectedNode instanceof WebInspector.HeapSnapshotGenericObjectNode)
|
| + if (target && selectedNode instanceof WebInspector.HeapSnapshotGenericObjectNode)
|
| target.consoleAgent().addInspectedHeapObject(selectedNode.snapshotNodeId);
|
| },
|
|
|
|
|