diff options
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r-- | components/script/stylesheet_loader.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs index 8c30a8340fc..fa48dffe6f8 100644 --- a/components/script/stylesheet_loader.rs +++ b/components/script/stylesheet_loader.rs @@ -222,7 +222,8 @@ impl FetchResponseListener for StylesheetContext { } else { atom!("load") }; - elem.upcast::<EventTarget>().fire_event(event); + elem.upcast::<EventTarget>() + .fire_event(event, CanGc::note()); } } @@ -235,7 +236,7 @@ impl FetchResponseListener for StylesheetContext { } fn submit_resource_timing(&mut self) { - network_listener::submit_timing(self) + network_listener::submit_timing(self, CanGc::note()) } } |