Changeset 142876 in webkit


Ignore:
Timestamp:
Feb 14, 2013 7:15:17 AM (11 years ago)
Author:
commit-queue@webkit.org
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 <kaznacheev@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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r142873 r142876  
     12013-02-14  Vladislav Kaznacheev  <kaznacheev@chromium.org>
     2
     3        Web Inspector: Color picker should not be available in Computed Styles pane.
     4        https://bugs.webkit.org/show_bug.cgi?id=109697
     5
     6        Reviewed by Alexander Pavlov.
     7
     8        Changed the parentPane parameter of WebInspector.ComputedStylePropertiesSection to the correct value
     9        (the ComputedStyleSidebarPane instance).
     10
     11        * inspector/front-end/StylesSidebarPane.js:
     12        (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):
     13
    1142013-02-14  Yury Semikhatsky  <yurys@chromium.org>
    215
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r142745 r142876  
    606606
    607607            if (computedStyle)
    608                 var section = new WebInspector.ComputedStylePropertiesSection(this, styleRule, usedProperties);
     608                var section = new WebInspector.ComputedStylePropertiesSection(this._computedStylePane, styleRule, usedProperties);
    609609            else {
    610610                var section = new WebInspector.StylePropertiesSection(this, styleRule, editable, styleRule.isInherited, lastWasSeparator);
     
    13541354 * @constructor
    13551355 * @extends {WebInspector.PropertiesSection}
    1356  * @param {!WebInspector.StylesSidebarPane} parentPane
     1356 * @param {!WebInspector.ComputedStyleSidebarPane} parentPane
    13571357 * @param {!Object} styleRule
    13581358 * @param {!Object.<string, boolean>} usedProperties
Note: See TracChangeset for help on using the changeset viewer.