aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-06-13 14:13:24 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-06-14 13:15:00 +0200
commitdc521b2799d46c1a943959e14ef715138d693b88 (patch)
tree2d610d1d9737ca3a1e8c3b49044d229158874fcf /components/layout_thread/lib.rs
parentf9c268922de7eacaf309437b82ea92e16a56caac (diff)
downloadservo-dc521b2799d46c1a943959e14ef715138d693b88.tar.gz
servo-dc521b2799d46c1a943959e14ef715138d693b88.zip
style: Remove damage_handled, and use a reconstructed_ancestor bit instead.
Reviewed-By: bholley Bug: 1368236 MozReview-Commit-ID: 8KK0YfhiS2
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r--components/layout_thread/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 364ce2745ac..f381caed992 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -111,9 +111,9 @@ use std::thread;
use style::animation::Animation;
use style::context::{QuirksMode, ReflowGoal, SharedStyleContext};
use style::context::{StyleSystemOptions, ThreadLocalStyleContextCreationInfo};
-use style::data::StoredRestyleHint;
use style::dom::{ShowSubtree, ShowSubtreeDataAndPrimaryValues, TElement, TNode};
use style::error_reporting::{NullReporter, RustLogReporter};
+use style::invalidation::element::restyle_hints::RestyleHint;
use style::logical_geometry::LogicalPoint;
use style::media_queries::{Device, MediaList, MediaType};
use style::selector_parser::SnapshotMap;
@@ -1119,7 +1119,7 @@ impl LayoutThread {
let el = node.as_element().unwrap();
if let Some(mut d) = element.mutate_data() {
if d.has_styles() {
- d.ensure_restyle().hint.insert(StoredRestyleHint::subtree());
+ d.ensure_restyle().hint.insert(RestyleHint::restyle_subtree());
}
}
if let Some(p) = el.parent_element() {
@@ -1155,7 +1155,7 @@ impl LayoutThread {
if needs_dirtying {
if let Some(mut d) = element.mutate_data() {
if d.has_styles() {
- d.ensure_restyle().hint.insert(StoredRestyleHint::subtree());
+ d.ensure_restyle().hint.insert(RestyleHint::restyle_subtree());
}
}
}