Auto merge of #20460 - upsuper:remove-stylebackendtype, r=emilio

Remove StyleBackendType uses

This is the Servo side change of [bug 1447828](https://bugzilla.mozilla.org/show_bug.cgi?id=1447828).
This commit is contained in:
bors-servo 2018-03-28 08:15:14 -04:00 committed by GitHub
commit 433d2f6577
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1190,7 +1190,6 @@ impl<'le> TElement for GeckoElement<'le> {
let base_declaration: &structs::DeclarationBlock =
slots.mSMILOverrideStyleDeclaration.mRawPtr.as_ref()?;
assert_eq!(base_declaration.mType, structs::StyleBackendType_Servo);
let declaration: &structs::ServoDeclarationBlock =
mem::transmute(base_declaration);