Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSectionModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSectionModel.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSectionModel.js |
index 186fcff1a5b34373f4851b6f924b4708a76cc844..d4439eaf962d05e440e872100ece6d8bb8db8ed1 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSectionModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSectionModel.js |
@@ -88,22 +88,6 @@ WebInspector.SectionCascade.prototype = { |
}, |
/** |
- * @param {!WebInspector.CSSStyleDeclaration} style |
- * @param {!WebInspector.CSSStyleDeclaration=} insertAfter |
- */ |
- insertStyle: function(style, insertAfter) |
- { |
- if (insertAfter) { |
- var index = this._styles.indexOf(insertAfter); |
- console.assert(index !== -1, "The insertAfter anchor could not be found in cascade"); |
- this._styles.splice(index + 1, 0, style); |
- } else { |
- this._styles.push(style); |
- } |
- this.resetActiveProperties(); |
- }, |
- |
- /** |
* @param {!WebInspector.CSSProperty} property |
* @return {?WebInspector.SectionCascade.PropertyState} |
*/ |