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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/document_loader.rs b/components/script/document_loader.rs
index c9241956bb5..c5cc74ec3ea 100644
--- a/components/script/document_loader.rs
+++ b/components/script/document_loader.rs
@@ -78,6 +78,7 @@ impl DocumentLoader {
pending.load_async(listener)
}
+
/// Mark an in-progress network request complete.
pub fn finish_load(&mut self, load: LoadType) {
let idx = self.blocking_loads.iter().position(|unfinished| *unfinished == load);