Skip trying to paint overlay scrollbars when there are none or they are clipped out
Created attachment 248912 [details] Patch
Comment on attachment 248912 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=248912&action=review > Source/WebCore/ChangeLog:14 > + and don't both setting up an empty clip just to paint nothing. both -> bother > Source/WebCore/rendering/RenderLayer.cpp:4784 > for (size_t i = 0; i < layerFragments.size(); ++i) { > const LayerFragment& fragment = layerFragments.at(i); Should use modern for loop.
http://trac.webkit.org/changeset/181695