Bug 101847 - Some minor optimizations in RenderLayer
Summary: Some minor optimizations in RenderLayer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-10 12:34 PST by Simon Fraser (smfr)
Modified: 2012-11-10 22:45 PST (History)
5 users (show)

See Also:


Attachments
Patch (3.70 KB, patch)
2012-11-10 13:52 PST, Simon Fraser (smfr)
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2012-11-10 12:34:43 PST
RenderLayer code calls isRenderInline() in a few places, which is virtual. It's better to check the isInline() bit first.
Comment 1 Simon Fraser (smfr) 2012-11-10 13:52:17 PST
Created attachment 173470 [details]
Patch
Comment 2 Simon Fraser (smfr) 2012-11-10 22:45:56 PST
http://trac.webkit.org/changeset/134162