Index: Source/devtools/front_end/UISourceCodeFrame.js |
diff --git a/Source/devtools/front_end/UISourceCodeFrame.js b/Source/devtools/front_end/UISourceCodeFrame.js |
index cb6387e957db527cd45b1142b3163c1724a2d833..016ed7785d9e6857546488a7a222bbee436a5a10 100644 |
--- a/Source/devtools/front_end/UISourceCodeFrame.js |
+++ b/Source/devtools/front_end/UISourceCodeFrame.js |
@@ -157,7 +157,7 @@ WebInspector.UISourceCodeFrame.prototype = { |
_updateStyle: function() |
{ |
- this.element.enableStyleClass("source-frame-unsaved-committed-changes", this._uiSourceCode.hasUnsavedCommittedChanges()); |
+ this.element.classList.toggle("source-frame-unsaved-committed-changes", this._uiSourceCode.hasUnsavedCommittedChanges()); |
}, |
onUISourceCodeContentChanged: function() |