Summary: | Web Inspector: toolbar causes 8 reflows upon opening | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Pavel Feldman
2012-08-18 22:31:32 PDT
Created attachment 159281 [details]
Patch
Comment on attachment 159281 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159281&action=review > Source/WebCore/inspector/front-end/Toolbar.js:55 > + if (!this._coalescingLevel) No need to check it here. > Source/WebCore/inspector/front-end/inspector.js:519 > + this.toolbar.setCoalescingUpdate(true); Consider changing addPanel() to addPanels() that would encapsulate this optimization for batch mode or pass the batchMode flag as an explicit parameter to addPanel. Comment on attachment 159281 [details] Patch Clearing flags on attachment: 159281 Committed r126001: <http://trac.webkit.org/changeset/126001> All reviewed patches have been landed. Closing bug. |