Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
index 85e1c913daa3ca0788f19e07db9d45ce7ee8c9de..575099c7d1f8dab96b6edea86352bb713c695215 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -1670,7 +1670,6 @@ WebInspector.BlankStylePropertiesSection = function(stylesPane, cascade, default |
this._selectorRefElement.appendChild(WebInspector.StylePropertiesSection._linkifyRuleLocation(this._parentPane._cssModel, this._parentPane._linkifier, styleSheetId, this._actualRuleLocation())); |
if (insertAfterStyle && insertAfterStyle.parentRule) |
this._createMediaList(insertAfterStyle.parentRule.media); |
- this._insertAfterStyle = insertAfterStyle; |
this.element.classList.add("blank-section"); |
} |
@@ -1778,9 +1777,7 @@ WebInspector.BlankStylePropertiesSection.prototype = { |
_makeNormal: function(newRule) |
{ |
this.element.classList.remove("blank-section"); |
- this._cascade.insertStyle(newRule.style, this._insertAfterStyle); |
this._style = newRule.style; |
- |
// FIXME: replace this instance by a normal WebInspector.StylePropertiesSection. |
this._normal = true; |
}, |