aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-07 18:45:48 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-07 18:46:53 +0200
commit558f5772a682c455607aa1e2f67801a904ce1154 (patch)
tree546721823c88c8b6ebf90c562dd6d784625f5bb8 /components/script/dom/document.rs
parent85167c8b7d2fb0e0e90283db750b601d789cd6ea (diff)
downloadservo-558f5772a682c455607aa1e2f67801a904ce1154.tar.gz
servo-558f5772a682c455607aa1e2f67801a904ce1154.zip
Rename VirtualMethods::attribute_is_mapped
This name doesn't convey what the method is about, it's now attribute_affects_presentational_hints.
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 9201b9a12e6..886e392dee7 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -2500,7 +2500,7 @@ impl Document {
entry.hint.insert(RESTYLE_STYLE_ATTRIBUTE);
}
- if vtable_for(el.upcast()).attribute_is_mapped(attr) {
+ if vtable_for(el.upcast()).attribute_affects_presentational_hints(attr) {
entry.hint.insert(RESTYLE_SELF);
}