aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/invalidation/element/restyle_hints.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2019-06-07 10:49:07 +0200
committerest31 <MTest31@outlook.com>2019-06-07 15:14:21 +0200
commit642b7c3ea19cefbedbc881894e5679e7a5dd33ce (patch)
tree3bcba1097e72694541acfd2a2acc25c726b078e6 /components/style/invalidation/element/restyle_hints.rs
parent8dc7a25893cbe9a2c958966618d28757201899b6 (diff)
downloadservo-642b7c3ea19cefbedbc881894e5679e7a5dd33ce.tar.gz
servo-642b7c3ea19cefbedbc881894e5679e7a5dd33ce.zip
Remove unused code from selector and style crates
Diffstat (limited to 'components/style/invalidation/element/restyle_hints.rs')
-rw-r--r--components/style/invalidation/element/restyle_hints.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/style/invalidation/element/restyle_hints.rs b/components/style/invalidation/element/restyle_hints.rs
index 9dbd12bab59..c0bf2424d52 100644
--- a/components/style/invalidation/element/restyle_hints.rs
+++ b/components/style/invalidation/element/restyle_hints.rs
@@ -105,12 +105,6 @@ impl RestyleHint {
Self::empty()
}
- /// Creates a new `RestyleHint` that indicates the element must be
- /// recascaded.
- pub fn recascade_self() -> Self {
- RestyleHint::RECASCADE_SELF
- }
-
/// Returns a hint that contains all the replacement hints.
pub fn replacements() -> Self {
RestyleHint::RESTYLE_STYLE_ATTRIBUTE | Self::for_animations()