diff options
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index ddaebcd35bf..baae5473cce 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -355,7 +355,7 @@ impl Document { // that workable. match self.GetDocumentElement() { Some(root) => { - root.upcast::<Node>().get_has_dirty_descendants() || + root.upcast::<Node>().has_dirty_descendants() || !self.modified_elements.borrow().is_empty() } None => false, |