Bug 142811

Summary: Skip trying to paint overlay scrollbars when there are none or they are clipped out
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Simon Fraser (smfr)
Reported 2015-03-17 22:44:12 PDT
Skip trying to paint overlay scrollbars when there are none or they are clipped out
Attachments
Patch (2.52 KB, patch)
2015-03-17 22:45 PDT, Simon Fraser (smfr)
darin: review+
Simon Fraser (smfr)
Comment 1 2015-03-17 22:45:57 PDT
Darin Adler
Comment 2 2015-03-18 08:34:37 PDT
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.
Simon Fraser (smfr)
Comment 3 2015-03-18 09:23:38 PDT
Note You need to log in before you can comment on or make changes to this bug.