Bug 29512

Summary: Don't recalculate style when restoring from the page cache.
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

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