diff options
Diffstat (limited to 'components/script/dom/comment.rs')
-rw-r--r-- | components/script/dom/comment.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs index 955b6bab6f6..a2b5bfe72d9 100644 --- a/components/script/dom/comment.rs +++ b/components/script/dom/comment.rs @@ -13,6 +13,7 @@ use crate::dom::characterdata::CharacterData; use crate::dom::document::Document; use crate::dom::node::Node; use crate::dom::window::Window; +use crate::script_runtime::CanGc; /// An HTML comment. #[dom_struct] @@ -43,6 +44,7 @@ impl Comment { pub fn Constructor( window: &Window, proto: Option<HandleObject>, + _can_gc: CanGc, data: DOMString, ) -> Fallible<DomRoot<Comment>> { let document = window.Document(); |