aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-10-04 13:11:03 +0200
committerMs2ger <Ms2ger@gmail.com>2016-10-04 13:11:03 +0200
commitaa48ec76287e6951a9a60089bf3d683d796d3af6 (patch)
tree233205a2069eaf347b5746aca9e28cb981ec3d1d /components/script/dom
parente4c0007d04fea15b912be1fbbe0dac7b295d6cc9 (diff)
downloadservo-aa48ec76287e6951a9a60089bf3d683d796d3af6.tar.gz
servo-aa48ec76287e6951a9a60089bf3d683d796d3af6.zip
Remove Document::add_blocking_load.
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/document.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index a765f767f2d..f8238d645e1 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -1423,12 +1423,6 @@ impl Document {
ReflowReason::RequestAnimationFrame);
}
- /// Add a load to the list of loads blocking this document's load.
- pub fn add_blocking_load(&self, load: LoadType) {
- let mut loader = self.loader.borrow_mut();
- loader.add_blocking_load(load)
- }
-
pub fn load_async(&self, load: LoadType, listener: AsyncResponseTarget, referrer_policy: Option<ReferrerPolicy>) {
let mut loader = self.loader.borrow_mut();
loader.load_async(load, listener, self, referrer_policy);