mirror of
https://github.com/servo/servo.git
synced 2025-08-23 14:25:33 +01:00
style: Remove refcount for StyleBasicShape
This is due to Bug 1404243 Part 3. MozReview-Commit-ID: DKymebmAYLX
This commit is contained in:
parent
4d95e2cd46
commit
3547a59e28
2 changed files with 11 additions and 11 deletions
|
@ -623,7 +623,7 @@ pub mod basic_shape {
|
|||
}
|
||||
},
|
||||
StyleShapeSourceType::Shape => {
|
||||
let other_shape = unsafe { &(**other.__bindgen_anon_1.mBasicShape.as_ref()) };
|
||||
let other_shape = unsafe { &*other.mBasicShape.mPtr };
|
||||
let shape = other_shape.into();
|
||||
let reference_box = if other.mReferenceBox == StyleGeometryBox::NoBox {
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue