Skip to content

Commit

Permalink
style: Change URL value storage in StyleShapeSource.
Browse files Browse the repository at this point in the history
This is due to Bug 1404243 Part 4.

MozReview-Commit-ID: CFRCdw2Dayy
  • Loading branch information
aethanyc committed Oct 2, 2017
1 parent 3547a59 commit db6acc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/style/gecko/conversions.rs
Expand Up @@ -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)
}
Expand Down

0 comments on commit db6acc7

Please sign in to comment.