Title: [142876] trunk/Source/WebCore
Revision
142876
Author
commit-qu...@webkit.org
Date
2013-02-14 07:15:17 -0800 (Thu, 14 Feb 2013)

Log Message

Web Inspector: Color picker should not be available in Computed Styles pane.
https://bugs.webkit.org/show_bug.cgi?id=109697

Patch by Vladislav Kaznacheev <kaznach...@chromium.org> on 2013-02-14
Reviewed by Alexander Pavlov.

Changed the parentPane parameter of WebInspector.ComputedStylePropertiesSection to the correct value
(the ComputedStyleSidebarPane instance).

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (142875 => 142876)


--- trunk/Source/WebCore/ChangeLog	2013-02-14 13:53:30 UTC (rev 142875)
+++ trunk/Source/WebCore/ChangeLog	2013-02-14 15:15:17 UTC (rev 142876)
@@ -1,3 +1,16 @@
+2013-02-14  Vladislav Kaznacheev  <kaznach...@chromium.org>
+
+        Web Inspector: Color picker should not be available in Computed Styles pane.
+        https://bugs.webkit.org/show_bug.cgi?id=109697
+
+        Reviewed by Alexander Pavlov.
+
+        Changed the parentPane parameter of WebInspector.ComputedStylePropertiesSection to the correct value
+        (the ComputedStyleSidebarPane instance).
+
+        * inspector/front-end/StylesSidebarPane.js:
+        (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):
+
 2013-02-14  Yury Semikhatsky  <yu...@chromium.org>
 
         Web Inspector: don't create static local string for program literal in InspectorTimelineAgent

Modified: trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js (142875 => 142876)


--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2013-02-14 13:53:30 UTC (rev 142875)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2013-02-14 15:15:17 UTC (rev 142876)
@@ -605,7 +605,7 @@
                 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 @@
 /**
  * @constructor
  * @extends {WebInspector.PropertiesSection}
- * @param {!WebInspector.StylesSidebarPane} parentPane
+ * @param {!WebInspector.ComputedStyleSidebarPane} parentPane
  * @param {!Object} styleRule
  * @param {!Object.<string, boolean>} usedProperties
  */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to