aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/wrapper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r--components/layout/wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs
index 817ff96bdb4..eb110a90e7a 100644
--- a/components/layout/wrapper.rs
+++ b/components/layout/wrapper.rs
@@ -172,7 +172,7 @@ impl<T: ThreadSafeLayoutNode> ThreadSafeLayoutNodeHelpers for T {
}
let data = node.borrow_layout_data().unwrap();
- if let Some(r) = data.base.style_data.as_restyle() {
+ if let Some(r) = data.base.style_data.get_restyle() {
// We're reflowing a node that just got a restyle, and so the
// damage has been computed and stored in the RestyleData.
r.damage