RESOLVED FIXED 118218
Avoid calling isSimpleContainerCompositingLayer() an extra time
https://bugs.webkit.org/show_bug.cgi?id=118218
Summary Avoid calling isSimpleContainerCompositingLayer() an extra time
Simon Fraser (smfr)
Reported 2013-06-29 12:47:48 PDT
Avoid calling isSimpleContainerCompositingLayer() an extra time
Attachments
Patch (3.28 KB, patch)
2013-06-29 12:48 PDT, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2013-06-29 12:48:59 PDT
Tim Horton
Comment 2 2013-06-29 12:56:14 PDT
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...
Simon Fraser (smfr)
Comment 3 2013-06-29 13:23:22 PDT
Note You need to log in before you can comment on or make changes to this bug.