From dc25b51b6ea1f78c5300bed78a836e23a2fb4747 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Wed, 28 Mar 2018 23:13:44 +1100 Subject: [PATCH] Remove StyleBackendType uses. --- components/style/gecko/wrapper.rs | 1 - 1 file changed, 1 deletion(-) 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);