diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-01-14 22:50:06 +0100 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-01-14 22:50:06 +0100 |
commit | 7633cab63a0080350b3883a7fed045d3b9d83a15 (patch) | |
tree | cf0ee11b1ab54cfba1eb8b97acac62db6199fb69 /components/script/dom/htmlvideoelement.rs | |
parent | fde7d4589f9fe79a2727109e865674dde5250a4f (diff) | |
download | servo-7633cab63a0080350b3883a7fed045d3b9d83a15.tar.gz servo-7633cab63a0080350b3883a7fed045d3b9d83a15.zip |
Terminate poster frame load blocker before blocking again
Diffstat (limited to 'components/script/dom/htmlvideoelement.rs')
-rw-r--r-- | components/script/dom/htmlvideoelement.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlvideoelement.rs b/components/script/dom/htmlvideoelement.rs index 197ec53ae7b..e8c831221d0 100644 --- a/components/script/dom/htmlvideoelement.rs +++ b/components/script/dom/htmlvideoelement.rs @@ -179,6 +179,7 @@ impl HTMLVideoElement { // (which triggers no media load algorithm unless a explicit call to .load() is done) // will block the document's load event forever. let mut blocker = self.load_blocker.borrow_mut(); + LoadBlocker::terminate(&mut *blocker); *blocker = Some(LoadBlocker::new( &document_from_node(self), LoadType::Image(poster_url.clone()), |