mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Change URL value storage in StyleShapeSource.
This is due to Bug 1404243 Part 4. MozReview-Commit-ID: CFRCdw2Dayy
This commit is contained in:
parent
3547a59e28
commit
db6acc7de4
1 changed files with 2 additions and 1 deletions
|
@ -617,7 +617,8 @@ pub mod basic_shape {
|
|||
StyleShapeSourceType::Box => ShapeSource::Box(other.mReferenceBox.into()),
|
||||
StyleShapeSourceType::URL => {
|
||||
unsafe {
|
||||
let other_url = &(**other.__bindgen_anon_1.mURL.as_ref());
|
||||
let shape_image = &*other.mShapeImage.mPtr;
|
||||
let other_url = &(**shape_image.__bindgen_anon_1.mURLValue.as_ref());
|
||||
let url = SpecifiedUrl::from_url_value_data(&other_url._base).unwrap();
|
||||
ShapeSource::Url(url)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue