Index: Source/devtools/front_end/FilterBar.js |
diff --git a/Source/devtools/front_end/FilterBar.js b/Source/devtools/front_end/FilterBar.js |
index 11169cf271476fd500763901de8f1faacfcb59f8..d6be7cb2e08293773260ddd2f970031b94ed5d78 100644 |
--- a/Source/devtools/front_end/FilterBar.js |
+++ b/Source/devtools/front_end/FilterBar.js |
@@ -491,7 +491,7 @@ WebInspector.NamedBitSetFilterUI.prototype = { |
this._allowedTypes[WebInspector.NamedBitSetFilterUI.ALL_TYPES] = true; |
} |
for (var typeName in this._typeFilterElements) |
- this._typeFilterElements[typeName].enableStyleClass("selected", this._allowedTypes[typeName]); |
+ this._typeFilterElements[typeName].classList.toggle("selected", this._allowedTypes[typeName]); |
this.dispatchEventToListeners(WebInspector.FilterUI.Events.FilterChanged, null); |
}, |
@@ -685,7 +685,7 @@ WebInspector.CheckboxFilterUI.prototype = { |
_update: function() |
{ |
- this._checkElement.enableStyleClass("checkbox-filter-checkbox-checked", this._checked); |
+ this._checkElement.classList.toggle("checkbox-filter-checkbox-checked", this._checked); |
this.dispatchEventToListeners(WebInspector.FilterUI.Events.FilterChanged, null); |
}, |