Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: Source/WebCore/platform/chromium/ScrollAnimatorChromiumMac.mm

Issue 7582015: Merge 92316 - Chromium Mac: Make sure scrollbars flash when web page loads (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698