diff options
Diffstat (limited to 'components/script/dom/fontface.rs')
-rw-r--r-- | components/script/dom/fontface.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/fontface.rs b/components/script/dom/fontface.rs index 9fb753600fa..f1e68f0941d 100644 --- a/components/script/dom/fontface.rs +++ b/components/script/dom/fontface.rs @@ -514,7 +514,7 @@ impl FontFaceMethods<crate::DomTypeHolder> for FontFace { font_face.status.set(FontFaceLoadStatus::Loaded); let old_template = font_face.template.borrow_mut().replace((family_name, template)); debug_assert!(old_template.is_none(), "FontFace's template must be intialized only once"); - font_face.font_status_promise.resolve_native(&font_face); + font_face.font_status_promise.resolve_native(&font_face, CanGc::note()); } } |