Web Inspector: Color picker should not be available in Computed Styles pane.
[WebKit-https.git] / Source / WebCore / inspector / front-end / StylesSidebarPane.js
index d54102db4e50be24be66ef3c2e0b08eb7cb1ce64..15ed5e14cc985d41748427375716655499c362a9 100644 (file)
@@ -605,7 +605,7 @@ WebInspector.StylesSidebarPane.prototype = {
                 editable = true;
 
             if (computedStyle)
-                var section = new WebInspector.ComputedStylePropertiesSection(this, styleRule, usedProperties);
+                var section = new WebInspector.ComputedStylePropertiesSection(this._computedStylePane, styleRule, usedProperties);
             else {
                 var section = new WebInspector.StylePropertiesSection(this, styleRule, editable, styleRule.isInherited, lastWasSeparator);
                 section._markSelectorMatches();
@@ -1353,7 +1353,7 @@ WebInspector.StylePropertiesSection.prototype = {
 /**
  * @constructor
  * @extends {WebInspector.PropertiesSection}
- * @param {!WebInspector.StylesSidebarPane} parentPane
+ * @param {!WebInspector.ComputedStyleSidebarPane} parentPane
  * @param {!Object} styleRule
  * @param {!Object.<string, boolean>} usedProperties
  */