Regen bindings and build fixes.

This commit is contained in:
Emilio Cobos Álvarez 2016-09-14 14:19:34 -07:00
parent ba89188e8b
commit 52aa87bc33
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 15071 additions and 6953 deletions

View file

@ -1640,7 +1640,7 @@ clip-path
fn init_shape(clip_path: &mut StyleClipPath, ty: StyleBasicShapeType) -> &mut StyleBasicShape {
unsafe {
// We have to be very careful to avoid a copy here!
let ref mut union = clip_path.StyleShapeSource_nsStyleStruct_h_unnamed_26;
let ref mut union = clip_path.__bindgen_anon_1;
let mut shape: &mut *mut StyleBasicShape = union.mBasicShape.as_mut();
*shape = Gecko_NewBasicShape(ty);
&mut **shape
@ -1738,7 +1738,7 @@ clip-path
} else {
Some(clip_path.mReferenceBox.into())
};
let union = clip_path.StyleShapeSource_nsStyleStruct_h_unnamed_26;
let union = clip_path.__bindgen_anon_1;
let shape = unsafe { &**union.mBasicShape.as_ref() };
ShapeSource::Shape(shape.into(), reference)
}