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

Unified Diff: Source/devtools/front_end/SourcesPanel.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/SearchableView.js ('k') | Source/devtools/front_end/SplitView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index acf496414b5088e62000158163de787156f93813..317a888e81a77be0bcecb1f5fc2a680c5edbf96f 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -808,7 +808,7 @@ WebInspector.SourcesPanel.prototype = {
var enabled = WebInspector.settings.pauseOnExceptionEnabled.get();
this._pauseOnExceptionButton.toggled = enabled;
this._pauseOnExceptionButton.title = WebInspector.UIString(enabled ? "Don't pause on exceptions." : "Pause on exceptions.");
- this._debugToolbarDrawer.enableStyleClass("expanded", enabled);
+ this._debugToolbarDrawer.classList.toggle("expanded", enabled);
},
_updateDebuggerButtons: function()
« no previous file with comments | « Source/devtools/front_end/SearchableView.js ('k') | Source/devtools/front_end/SplitView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698