Changeset 89806 in webkit


Ignore:
Timestamp:
Jun 27, 2011 1:35:54 AM (13 years ago)
Author:
pfeldman@chromium.org
Message:

2011-06-27 Pavel Feldman <pfeldman@google.com>

Reviewed by Yury Semikhatsky.

Web Inspector: node selection is slow in the Elements panel.
https://bugs.webkit.org/show_bug.cgi?id=60813

  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylesSidebarPane.prototype.update.stylesCallback): (WebInspector.StylesSidebarPane.prototype.update.computedStyleCallback): (WebInspector.StylesSidebarPane.prototype.update):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r89804 r89806  
     12011-06-27  Pavel Feldman  <pfeldman@google.com>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        Web Inspector: node selection is slow in the Elements panel.
     6        https://bugs.webkit.org/show_bug.cgi?id=60813
     7
     8        * inspector/front-end/StylesSidebarPane.js:
     9        (WebInspector.StylesSidebarPane.prototype.update.stylesCallback):
     10        (WebInspector.StylesSidebarPane.prototype.update.computedStyleCallback):
     11        (WebInspector.StylesSidebarPane.prototype.update):
     12
    1132011-06-26  Pavel Feldman  <pfeldman@chromium.org>
    214
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r89804 r89806  
    228228        function stylesCallback(styles)
    229229        {
    230             if (styles)
     230            if (this.node === node && styles)
    231231                this._rebuildUpdate(node, styles);
    232232            if (callback)
     
    236236        function computedStyleCallback(computedStyle)
    237237        {
    238             if (computedStyle)
     238            if (this.node === node && computedStyle)
    239239                this._refreshUpdate(node, computedStyle, editedSection);
    240240            if (callback)
Note: See TracChangeset for help on using the changeset viewer.