Create HoistedSharedFragment

This commit is contained in:
Manish Goregaokar 2020-07-24 15:08:25 -07:00
parent 96c0c50874
commit d476a10773
3 changed files with 23 additions and 8 deletions

View file

@ -916,7 +916,7 @@ impl AbsoluteOrFixedPositionedFragment {
stacking_context: &mut StackingContext,
) {
let hoisted_fragment = self.hoisted_fragment.borrow();
let fragment_ref = match hoisted_fragment.as_ref() {
let fragment_ref = match hoisted_fragment.fragment.as_ref() {
Some(fragment_ref) => fragment_ref,
None => unreachable!("Found hoisted box with missing fragment."),
};