Bug 29512 - Don't recalculate style when restoring from the page cache.
Summary: Don't recalculate style when restoring from the page cache.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 17:45 PDT by Antti Koivisto
Modified: 2009-09-18 18:25 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2009-09-18 17:45:24 PDT
This code

        // Force a layout to update view size and thereby update scrollbars.
        m_client->forceLayout();

in void FrameLoader::commitProvisionalLoad() ends up performing forced style recalc which is unnecessary and can be very slow.
Comment 1 Antti Koivisto 2009-09-18 18:25:55 PDT
http://trac.webkit.org/changeset/48545