diff options
Diffstat (limited to 'components/shared/script_layout/wrapper_traits.rs')
-rw-r--r-- | components/shared/script_layout/wrapper_traits.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/shared/script_layout/wrapper_traits.rs b/components/shared/script_layout/wrapper_traits.rs index be27050a42f..6c4de339c1b 100644 --- a/components/shared/script_layout/wrapper_traits.rs +++ b/components/shared/script_layout/wrapper_traits.rs @@ -25,11 +25,11 @@ use style::selector_parser::{PseudoElement, PseudoElementCascadeType, SelectorIm use style::stylist::RuleInclusion; use crate::{ - FragmentType, GenericLayoutData, HTMLCanvasData, HTMLMediaData, LayoutNodeType, SVGSVGData, - StyleData, + FragmentType, GenericLayoutData, GenericLayoutDataTrait, HTMLCanvasData, HTMLMediaData, + LayoutNodeType, SVGSVGData, StyleData, }; -pub trait LayoutDataTrait: Default + Send + Sync + 'static {} +pub trait LayoutDataTrait: GenericLayoutDataTrait + Default + Send + Sync + 'static {} /// A wrapper so that layout can access only the methods that it should have access to. Layout must /// only ever see these and must never see instances of `LayoutDom`. |