diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2017-01-05 13:12:53 -0800 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2017-01-09 11:51:37 -0800 |
commit | 3fcfc9c5fcce9bb97a217f08431efee815b85be2 (patch) | |
tree | c0e730bb72b03af6f235322bb54f39cd915e6953 /components/layout/wrapper.rs | |
parent | 4558efbca5c1ad3fe0b6b074415174c42ae1f75f (diff) | |
download | servo-3fcfc9c5fcce9bb97a217f08431efee815b85be2.tar.gz servo-3fcfc9c5fcce9bb97a217f08431efee815b85be2.zip |
Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r-- | components/layout/wrapper.rs | 2 |
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 |