aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/document_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/document_loader.rs')
-rw-r--r--components/script/document_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index 9fe42e30147..2cbb0d150d1 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -51,7 +51,7 @@ pub struct LoadBlocker {
impl LoadBlocker {
/// Mark the document's load event as blocked on this new load.
pub fn new(doc: &Document, load: LoadType) -> LoadBlocker {
- doc.mut_loader().add_blocking_load(load.clone());
+ doc.loader_mut().add_blocking_load(load.clone());
LoadBlocker {
doc: JS::from_ref(doc),
load: Some(load),