aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-03-31 21:12:38 -0400
committerCorey Farwell <coreyf@rwell.org>2016-03-31 21:12:38 -0400
commitbf4db405e4d10cc4a2d665abf7e8c8d701254699 (patch)
tree483012fdd7aca504ae7d5753e321d4393fde1719 /components/script/dom/document.rs
parent210a2431370bc963e736917cff0483dc5d06e9cd (diff)
downloadservo-bf4db405e4d10cc4a2d665abf7e8c8d701254699.tar.gz
servo-bf4db405e4d10cc4a2d665abf7e8c8d701254699.zip
Remove `get_*` on getters as per RFC 0344.
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r--components/script/dom/document.rs2
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,