aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
authorGlenn Watson <github@intuitionlibrary.com>2017-06-21 10:45:48 +1000
committerGlenn Watson <github@intuitionlibrary.com>2017-06-21 11:02:23 +1000
commitcbeb181c61d973d9426adbcac39d73b4700ce464 (patch)
tree78dffb017c9be33e51221c48e77b148f812d5159 /components/script/layout_wrapper.rs
parent6c9e3054424913baa11f30d86c272158b2f21c81 (diff)
downloadservo-cbeb181c61d973d9426adbcac39d73b4700ce464.tar.gz
servo-cbeb181c61d973d9426adbcac39d73b4700ce464.zip
Fix rAF callbacks when in spurious mode.
This fixes another rAF bug, that is being exposed by the previous two commits. Previously, the fake timer callback would only be set if we were being called from a non-rAF event handler. Now, if we're in fake / spurious mode, unconditionally set the one shot timer. Otherwise, notify the compositor that animations are present if we're not currently in a rAF callback.
Diffstat (limited to 'components/script/layout_wrapper.rs')
0 files changed, 0 insertions, 0 deletions