Bug 167551 - Avoid synchronous style recalc in dispatchUnloadEvents()
Summary: Avoid synchronous style recalc in dispatchUnloadEvents()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-28 05:53 PST by Andreas Kling
Modified: 2017-01-28 07:21 PST (History)
4 users (show)

See Also:


Attachments
Patch for EWS (544 bytes, patch)
2017-01-28 05:54 PST, Andreas Kling
no flags Details | Formatted Diff | Diff
Patch (1.27 KB, patch)
2017-01-28 06:42 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2017-01-28 05:53:46 PST
I think we can avoid the updateStyleIfNeeded() call in FrameLoader::dispatchUnloadEvents()
Comment 1 Andreas Kling 2017-01-28 05:54:11 PST
Created attachment 300032 [details]
Patch for EWS

Let's see what EWS thinks.
Comment 2 Andreas Kling 2017-01-28 06:42:58 PST
Created attachment 300033 [details]
Patch
Comment 3 WebKit Commit Bot 2017-01-28 07:21:20 PST
Comment on attachment 300033 [details]
Patch

Clearing flags on attachment: 300033

Committed r211336: <http://trac.webkit.org/changeset/211336>
Comment 4 WebKit Commit Bot 2017-01-28 07:21:25 PST
All reviewed patches have been landed.  Closing bug.