mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1777395
- Remove legacy clip-parenting in wrench r=gfx-reviewers,lsalzman
This removes the last piece of code in wrench and gecko (there is one more callsite in WR itself) that relies on the legacy clip parenting code. Differential Revision: https://phabricator.services.mozilla.com/D150694
This commit is contained in:
parent
bf414505cd
commit
70b436796a
@ -39,3 +39,5 @@ pipelines:
|
||||
bounds: [0, 0, 1887, 239]
|
||||
type: rect
|
||||
color: blue
|
||||
clip-chain: [2, 4]
|
||||
|
@ -1894,7 +1894,10 @@ impl YamlFrameReader {
|
||||
|
||||
if let Some(clip_rect) = yaml["bounds"].as_rect() {
|
||||
space_and_clip.clip_id = dl.define_clip_rect(
|
||||
&space_and_clip,
|
||||
&SpaceAndClipInfo {
|
||||
spatial_id: space_and_clip.spatial_id,
|
||||
clip_id: ClipId::ClipChain(ClipChainId::INVALID),
|
||||
},
|
||||
clip_rect,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user