Chromium Code Reviews| Index: Source/devtools/front_end/StylesSidebarPane.js |
| diff --git a/Source/devtools/front_end/StylesSidebarPane.js b/Source/devtools/front_end/StylesSidebarPane.js |
| index 33b9add8d092d2d3782e46ea324d56a7242aef48..36ead3a4869e2e6c656ee3fbb58f0adaeb20c6b4 100644 |
| --- a/Source/devtools/front_end/StylesSidebarPane.js |
| +++ b/Source/devtools/front_end/StylesSidebarPane.js |
| @@ -180,7 +180,7 @@ WebInspector.StylesSidebarPane.prototype = { |
| contextMenu.show(); |
| }, |
| - get _forcedPseudoClasses() |
| + _forcedPseudoClasses: function() |
|
apavlov
2014/02/21 14:37:55
how is this change related to your patch?
lushnikov
2014/02/21 14:57:35
that's a drive-by :)
lushnikov
2014/02/23 16:07:07
Removed this change from patch.
|
| { |
| return this.node ? (this.node.getUserProperty("pseudoState") || undefined) : undefined; |
| }, |
| @@ -194,7 +194,7 @@ WebInspector.StylesSidebarPane.prototype = { |
| this._elementStateButton.enableStyleClass("hidden", hasPseudoType); |
| this._elementStatePane.enableStyleClass("expanded", !hasPseudoType && this._elementStateButton.classList.contains("toggled")); |
| - var nodePseudoState = this._forcedPseudoClasses; |
| + var nodePseudoState = this._forcedPseudoClasses(); |
| if (!nodePseudoState) |
| nodePseudoState = []; |