Store UrlExtraData in {specified,computed}::Image::Url.

This commit is contained in:
Cameron McCormack 2016-07-29 14:22:35 +08:00
parent 00677e27fd
commit baa339f4af
5 changed files with 50 additions and 12 deletions

View file

@ -1097,7 +1097,7 @@ fn static_assert() {
Gecko_SetGradientImageValue(&mut geckoimage.mImage, gecko_gradient);
}
},
Image::Url(_) => {
Image::Url(..) => {
// let utf8_bytes = url.as_bytes();
// Gecko_SetUrlImageValue(&mut self.gecko.mImage.mLayers.mFirstElement,
// utf8_bytes.as_ptr() as *const _,