Bug 29512
| Summary: | Don't recalculate style when restoring from the page cache. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Antti Koivisto
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antti Koivisto
http://trac.webkit.org/changeset/48545