Sometimes, RenderLayerCompositor performs the verification &layer == m_renderView.layer() which could be replaced with the more readable isRootLayer() for consistency with the rest of the file.
Created attachment 320258 [details] Patch
Created attachment 320260 [details] Patch
Some part is extracted from Simon's patch for bug 176261
Comment on attachment 320260 [details] Patch I would like to rename isRootLayer() to isRenderViewLayer() at the same time.
(In reply to Simon Fraser (smfr) from comment #4) > I would like to rename isRootLayer() to isRenderViewLayer() Good idea. > at the same time. Seems unnecessary to time it that way. Much bigger than this patch. Should do with do-webcore-rename!
Committed r221845: <http://trac.webkit.org/changeset/221845>
<rdar://problem/34693498>