Avoid calling isSimpleContainerCompositingLayer() an extra time
Created attachment 205772 [details]
Comment on attachment 205772 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=205772&action=review
> + 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...