style: Remove refcount for StyleBasicShape

This is due to Bug 1404243 Part 3.

MozReview-Commit-ID: DKymebmAYLX
This commit is contained in:
Ting-Yu Lin 2017-09-26 10:53:59 +08:00 committed by Ting-Yu Lin
parent 4d95e2cd46
commit 3547a59e28
2 changed files with 11 additions and 11 deletions

View file

@ -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