Changeset 191640 in webkit


Ignore:
Timestamp:
Oct 27, 2015 2:42:20 PM (8 years ago)
Author:
Matt Baker
Message:

REGRESSION: Web Inspector: DOM path bar blinks when modifying inline styles
https://bugs.webkit.org/show_bug.cgi?id=149258

Reviewed by Timothy Hatcher.

Now that Object now longer spams constructor event listeners, ContentBrowser can safely
update the NavigationBar synchronously. This fixes the issue, with zero impact on layout
responsiveness when selecting Rendering Frames tree elements.

  • UserInterface/Views/ContentBrowser.js:

(WebInspector.ContentBrowser.prototype._contentViewSelectionPathComponentDidChange):
Force NavigationBar to update synchronously.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r191639 r191640  
     12015-10-27  Matt Baker  <mattbaker@apple.com>
     2
     3        REGRESSION: Web Inspector: DOM path bar blinks when modifying inline styles
     4        https://bugs.webkit.org/show_bug.cgi?id=149258
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        Now that Object now longer spams constructor event listeners, ContentBrowser can safely
     9        update the NavigationBar synchronously. This fixes the issue, with zero impact on layout
     10        responsiveness when selecting Rendering Frames tree elements.
     11
     12        * UserInterface/Views/ContentBrowser.js:
     13        (WebInspector.ContentBrowser.prototype._contentViewSelectionPathComponentDidChange):
     14        Force NavigationBar to update synchronously.
     15
    1162015-10-27  Joseph Pecoraro  <pecoraro@apple.com>
    217
  • trunk/Source/WebInspectorUI/UserInterface/Views/ContentBrowser.js

    r191488 r191640  
    448448        this._updateContentViewNavigationItems();
    449449
    450         this._navigationBar.updateLayoutSoon();
     450        this._navigationBar.updateLayout();
    451451
    452452        this._dispatchCurrentRepresentedObjectsDidChangeEventSoon();
Note: See TracChangeset for help on using the changeset viewer.