Index: Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm |
=================================================================== |
--- Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm (revision 92484) |
+++ Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm (working copy) |
@@ -1287,7 +1287,10 @@ |
void ScrollAnimatorChromiumMac::initialScrollbarPaintTimerFired(Timer<ScrollAnimatorChromiumMac>*) |
{ |
- wkScrollbarPainterForceFlashScrollers(m_scrollbarPainterController.get()); |
+ if (scrollableArea()->shouldSuspendScrollAnimations()) |
+ startScrollbarPaintTimer(); |
+ else |
+ wkScrollbarPainterForceFlashScrollers(m_scrollbarPainterController.get()); |
} |
#endif |