mirror of
https://github.com/servo/servo.git
synced 2025-06-19 06:38:59 +01:00
Remove StyleBackendType uses.
This commit is contained in:
parent
25dcd0ecfd
commit
dc25b51b6e
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue