mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Do not share entire FrameRenderer with layout, only current frame
This commit is contained in:
parent
1f406ef0a0
commit
8c40ef459b
8 changed files with 102 additions and 149 deletions
|
@ -2000,7 +2000,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
}
|
||||
},
|
||||
SpecificFragmentInfo::Media(ref fragment_info) => {
|
||||
if let Some((ref image_key, _, _)) = fragment_info.frame_source.get_current_frame()
|
||||
if let Some((ref image_key, _, _)) = fragment_info.current_frame
|
||||
{
|
||||
let base = create_base_display_item(state);
|
||||
state.add_image_item(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue