Summary: | Avoid calling isSimpleContainerCompositingLayer() an extra time | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||
Component: | New Bugs | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bdakin, commit-queue, esprehn+autocc, glenn, noam, simon.fraser, thorton | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2013-06-29 12:47:48 PDT
Created attachment 205772 [details]
Patch
Comment on attachment 205772 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=205772&action=review > Source/WebCore/rendering/RenderLayerBacking.cpp:982 > + bool hasPaintedContent = containsPaintedContent(isSimpleContainer); Wait, do you even need to pass it in? In the previous case, you were not calling in ever if it was false, so you can assume it's true? And, before, you were avoiding the function call at all... |