aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlpreelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlpreelement.rs')
-rw-r--r--components/script/dom/htmlpreelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlpreelement.rs b/components/script/dom/htmlpreelement.rs
index 54651c9633e..fcd152be7e5 100644
--- a/components/script/dom/htmlpreelement.rs
+++ b/components/script/dom/htmlpreelement.rs
@@ -66,7 +66,7 @@ impl VirtualMethods for HTMLPreElement {
}
}
-impl HTMLPreElementMethods for HTMLPreElement {
+impl HTMLPreElementMethods<crate::DomTypeHolder> for HTMLPreElement {
// https://html.spec.whatwg.org/multipage/#dom-pre-width
make_int_getter!(Width, "width", 0);