Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1276)

Unified Diff: Source/devtools/front_end/FilteredItemSelectionDialog.js

Issue 182113004: DevTools: Get rid of Element.prototype.enableStyleClass (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/FilterBar.js ('k') | Source/devtools/front_end/InplaceFormatterEditorAction.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/FilteredItemSelectionDialog.js
diff --git a/Source/devtools/front_end/FilteredItemSelectionDialog.js b/Source/devtools/front_end/FilteredItemSelectionDialog.js
index cc5865e7d4609de112eceabf99cebe171a478030..89a2cb59322a2621d119d5a81cc03465aa102329 100644
--- a/Source/devtools/front_end/FilteredItemSelectionDialog.js
+++ b/Source/devtools/front_end/FilteredItemSelectionDialog.js
@@ -264,7 +264,7 @@ WebInspector.FilteredItemSelectionDialog.prototype = {
_updateShowMatchingItems: function()
{
- this._itemElementsContainer.enableStyleClass("hidden", !this._shouldShowMatchingItems);
+ this._itemElementsContainer.classList.toggle("hidden", !this._shouldShowMatchingItems);
this.element.style.height = this._shouldShowMatchingItems ? this._dialogHeight + "px" : "auto";
},
« no previous file with comments | « Source/devtools/front_end/FilterBar.js ('k') | Source/devtools/front_end/InplaceFormatterEditorAction.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698