aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-25 09:00:44 -0800
committerGitHub <noreply@github.com>2016-11-25 09:00:44 -0800
commitd98abaec20e624aa89a3abddf4cf2a6399951ef1 (patch)
treeb0df4474a5b049d6b24614e8bb4aca0175642d09 /components/layout/construct.rs
parentbeec035eb0ff6babf48ce836184329e60e795177 (diff)
parent900ad112386d65984e4f4c93926f323d12abbaf5 (diff)
downloadservo-d98abaec20e624aa89a3abddf4cf2a6399951ef1.tar.gz
servo-d98abaec20e624aa89a3abddf4cf2a6399951ef1.zip
Auto merge of #14300 - bholley:restyle_driven_traversal, r=emilio
stylo: Basic infrastructure for RestyleHint-driven traversal Gecko Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=131701 (Don't review yet, will flag on the gecko bug when the time comes) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14300) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 5c4f1ce7849..453c68dcae1 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -1354,8 +1354,8 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode>
let mut set_has_newly_constructed_flow_flag = false;
let result = {
let mut style = node.style(self.style_context());
+ let damage = node.restyle_damage();
let mut data = node.mutate_layout_data().unwrap();
- let damage = data.base.restyle_damage;
match *node.construction_result_mut(&mut *data) {
ConstructionResult::None => true,