Always-visible scrollbars continuously repaint after non-momentum scrolling <rdar://problem/16553878>
Created attachment 230522 [details] Patch
Comment on attachment 230522 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230522&action=review > Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:143 > + if (m_verticalScrollbarPainter) > + [m_verticalScrollbarPainter setUsePresentationValue:YES]; > + if (m_horizontalScrollbarPainter) > + [m_horizontalScrollbarPainter setUsePresentationValue:YES]; You don't really need the nil checks (messaging nil is OK). > Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:378 > + if (m_verticalScrollbarPainter && [m_verticalScrollbarPainter shouldUsePresentationValue]) { Could just be if ([m_verticalScrollbarPainter shouldUsePresentationValue]) > Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:385 > + if (m_horizontalScrollbarPainter && [m_horizontalScrollbarPainter shouldUsePresentationValue]) { Ditto.
Fixed! Thanks, Simon! http://trac.webkit.org/changeset/168049