diff --git a/components/script/dom/identityhub.rs b/components/script/dom/identityhub.rs index cb129dc5ca2..81831be9202 100644 --- a/components/script/dom/identityhub.rs +++ b/components/script/dom/identityhub.rs @@ -36,6 +36,12 @@ pub struct IdentityHub { render_passes: IdentityManager, } +impl Default for IdentityHub { + fn default() -> Self { + Self::new() + } +} + impl IdentityHub { pub fn new() -> Self { IdentityHub {