| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index a2f9a351584786e5a17aacf3c2a3b950061aaa08..4304ea0841f3d2e436f915a21274866958804158 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -206,7 +206,7 @@ WebInspector.StylesSidebarPane.prototype = {
|
| setNode: function(node)
|
| {
|
| this._stylesPopoverHelper.hide();
|
| - node = WebInspector.SharedSidebarModel.elementNode(node);
|
| + node = node ? node.enclosingElementOrSelf() : null;
|
|
|
| this._resetCache();
|
| WebInspector.ElementsSidebarPane.prototype.setNode.call(this, node);
|
|
|