diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 4f3cfca76a5..bfc1e63fcc8 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -122,7 +122,7 @@ pub enum LayoutControlMsg { /// Asks layout to run another step in its animation. TickAnimations, /// Tells layout about the new scrolling offsets of each scrollable stacking context. - SetStackingContextScrollStates(Vec<StackingContextScrollState>), + SetScrollStates(Vec<ScrollState>), /// Requests the current load state of Web fonts. `true` is returned if fonts are still loading /// and `false` is returned if all fonts have loaded. GetWebFontLoadState(IpcSender<bool>), @@ -673,7 +673,7 @@ pub enum AnimationTickType { /// The scroll state of a stacking context. #[derive(Copy, Clone, Debug, Deserialize, Serialize)] -pub struct StackingContextScrollState { +pub struct ScrollState { /// The ID of the scroll root. pub scroll_root_id: ClipId, /// The scrolling offset of this stacking context. |