aboutsummaryrefslogtreecommitdiffstats
path: root/components/style
diff options
context:
space:
mode:
authorXidorn Quan <me@upsuper.org>2018-03-28 23:13:44 +1100
committerXidorn Quan <me@upsuper.org>2018-03-28 23:13:44 +1100
commitdc25b51b6ea1f78c5300bed78a836e23a2fb4747 (patch)
treed724e3b1369003cde271ba5c057de3328071c2bb /components/style
parent25dcd0ecfd4cb7a844f00696730cb0d3ab4b198c (diff)
downloadservo-dc25b51b6ea1f78c5300bed78a836e23a2fb4747.tar.gz
servo-dc25b51b6ea1f78c5300bed78a836e23a2fb4747.zip
Remove StyleBackendType uses.
Diffstat (limited to 'components/style')
-rw-r--r--components/style/gecko/wrapper.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/style/gecko/wrapper.rs b/components/style/gecko/wrapper.rs
index 9c32d301c13..ae8612fa490 100644
--- a/components/style/gecko/wrapper.rs
+++ b/components/style/gecko/wrapper.rs
@@ -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);