Index: Source/devtools/front_end/elements/StylesSidebarPane.js |
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js |
index 62b389cfa6d8e24c75330de624b5ad1f1597cee3..a44ac8d4389206f01abd8530919c67b01df3e1d0 100644 |
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -520,18 +520,14 @@ WebInspector.StylesSidebarPane.prototype = { |
/** |
* @override |
- * @param {!WebInspector.DOMNode} changedNode |
*/ |
- onDOMNodeChanged: function(changedNode) |
+ onDOMModelChanged: function() |
{ |
// Any attribute removal or modification can affect the styles of "related" nodes. |
// Do not touch the styles if they are being edited. |
if (this._isEditingStyle || this._userOperation) |
return; |
- if (!this._canAffectCurrentStyles(changedNode)) |
- return; |
- |
this._resetCache(); |
this.update(); |
}, |