| Index: Source/devtools/front_end/HeapSnapshotView.js
|
| diff --git a/Source/devtools/front_end/HeapSnapshotView.js b/Source/devtools/front_end/HeapSnapshotView.js
|
| index 562079b697e2723bedcbfc05a58ac5d933bf70d6..0b1b69e4008c949b652ad918e4ac65ec032b1622 100644
|
| --- a/Source/devtools/front_end/HeapSnapshotView.js
|
| +++ b/Source/devtools/front_end/HeapSnapshotView.js
|
| @@ -869,19 +869,21 @@ WebInspector.HeapSnapshotView.prototype = {
|
| */
|
| highlightLiveObject: function(perspectiveName, snapshotObjectId)
|
| {
|
| + this._changePerspectiveAndWait(perspectiveName, didChangePerspective.bind(this));
|
| +
|
| /**
|
| * @this {WebInspector.HeapSnapshotView}
|
| */
|
| function didChangePerspective()
|
| {
|
| - function didHighlightObject(found)
|
| - {
|
| - if (!found)
|
| - WebInspector.console.log("Cannot find corresponding heap snapshot node", WebInspector.ConsoleMessage.MessageLevel.Error, true);
|
| - }
|
| - this._dataGrid.highlightObjectByHeapSnapshotId(snapshotObjectId, didHighlightObject.bind(this));
|
| + this._dataGrid.highlightObjectByHeapSnapshotId(snapshotObjectId, didHighlightObject);
|
| + }
|
| +
|
| + function didHighlightObject(found)
|
| + {
|
| + if (!found)
|
| + WebInspector.console.log("Cannot find corresponding heap snapshot node", WebInspector.ConsoleMessage.MessageLevel.Error, true);
|
| }
|
| - this._changePerspectiveAndWait(perspectiveName, didChangePerspective.bind(this));
|
| },
|
|
|
| _getHoverAnchor: function(target)
|
|
|