mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove StackingContext::establishes_3d_context
This member is now unused since WebRender is the only display backend.
This commit is contained in:
parent
56435db820
commit
43e4d04c24
2 changed files with 4 additions and 15 deletions
|
@ -373,9 +373,6 @@ pub struct StackingContext {
|
|||
/// The perspective matrix to be applied to children.
|
||||
pub perspective: Option<Matrix4D<f32>>,
|
||||
|
||||
/// Whether this stacking context creates a new 3d rendering context.
|
||||
pub establishes_3d_context: bool,
|
||||
|
||||
/// The scroll policy of this layer.
|
||||
pub scroll_policy: ScrollPolicy,
|
||||
|
||||
|
@ -395,7 +392,6 @@ impl StackingContext {
|
|||
blend_mode: mix_blend_mode::T,
|
||||
transform: Option<Matrix4D<f32>>,
|
||||
perspective: Option<Matrix4D<f32>>,
|
||||
establishes_3d_context: bool,
|
||||
scroll_policy: ScrollPolicy,
|
||||
parent_scroll_id: ScrollRootId)
|
||||
-> StackingContext {
|
||||
|
@ -409,7 +405,6 @@ impl StackingContext {
|
|||
blend_mode: blend_mode,
|
||||
transform: transform,
|
||||
perspective: perspective,
|
||||
establishes_3d_context: establishes_3d_context,
|
||||
scroll_policy: scroll_policy,
|
||||
parent_scroll_id: parent_scroll_id,
|
||||
}
|
||||
|
@ -426,7 +421,6 @@ impl StackingContext {
|
|||
mix_blend_mode::T::normal,
|
||||
None,
|
||||
None,
|
||||
true,
|
||||
ScrollPolicy::Scrollable,
|
||||
ScrollRootId::root())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue