| Summary: | Overriding the overlay scrollbar style on WKView doesn't take effect immediately | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Beth Dakin <bdakin> | ||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bdakin, sam, simon.fraser | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Beth Dakin
2015-06-10 14:22:26 PDT
Created attachment 254677 [details]
Patch
Comment on attachment 254677 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=254677&action=review > Source/WebCore/platform/mac/ScrollAnimatorMac.mm:1020 > + if (!painter) > + return; > + [painter setNeedsDisplay:YES]; It would be OK removing the null check, since messaging nil is OK. (In reply to comment #2) > Comment on attachment 254677 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=254677&action=review > > > Source/WebCore/platform/mac/ScrollAnimatorMac.mm:1020 > > + if (!painter) > > + return; > > + [painter setNeedsDisplay:YES]; > > It would be OK removing the null check, since messaging nil is OK. Good point. Removed! Thanks, Simon! http://trac.webkit.org/changeset/185431 |