| Index: third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
|
| index e79c8021c8b819ae7a530f2f3df8aedcdbe00323..999cebafcec57411648b6f6bb435635a1af0a0cf 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
|
| @@ -423,7 +423,7 @@ WebInspector.ElementsTreeOutline.prototype = {
|
| // avoid calling _selectedNodeChanged() twice, first check if _selectedDOMNode is the same
|
| // node as the one passed in.
|
| if (this._selectedDOMNode === node)
|
| - this._selectedNodeChanged();
|
| + this._selectedNodeChanged(!!focus);
|
| },
|
|
|
| /**
|
| @@ -463,9 +463,12 @@ WebInspector.ElementsTreeOutline.prototype = {
|
| this._revealAndSelectNode(selectedNode, true);
|
| },
|
|
|
| - _selectedNodeChanged: function()
|
| + /**
|
| + * @param {boolean} focus
|
| + */
|
| + _selectedNodeChanged: function(focus)
|
| {
|
| - this.dispatchEventToListeners(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, this._selectedDOMNode);
|
| + this.dispatchEventToListeners(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, {node: this._selectedDOMNode, focus: focus});
|
| },
|
|
|
| /**
|
|
|