aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/svgsvgelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/svgsvgelement.rs')
-rw-r--r--components/script/dom/svgsvgelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/svgsvgelement.rs b/components/script/dom/svgsvgelement.rs
index 60c90544aca..6ea48c344e6 100644
--- a/components/script/dom/svgsvgelement.rs
+++ b/components/script/dom/svgsvgelement.rs
@@ -75,8 +75,8 @@ impl LayoutSVGSVGElementHelpers for LayoutDom<SVGSVGElement> {
}
impl VirtualMethods for SVGSVGElement {
- fn super_type(&self) -> Option<&VirtualMethods> {
- Some(self.upcast::<SVGGraphicsElement>() as &VirtualMethods)
+ fn super_type(&self) -> Option<&dyn VirtualMethods> {
+ Some(self.upcast::<SVGGraphicsElement>() as &dyn VirtualMethods)
}
fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) {