diff options
author | Glenn Watson <github@intuitionlibrary.com> | 2017-06-21 10:45:48 +1000 |
---|---|---|
committer | Glenn Watson <github@intuitionlibrary.com> | 2017-06-21 11:02:23 +1000 |
commit | cbeb181c61d973d9426adbcac39d73b4700ce464 (patch) | |
tree | 78dffb017c9be33e51221c48e77b148f812d5159 /components/script/layout_wrapper.rs | |
parent | 6c9e3054424913baa11f30d86c272158b2f21c81 (diff) | |
download | servo-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