diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2014-05-23 16:49:01 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2014-05-23 17:06:41 +0100 |
commit | 9dd16e41ab5f63dedd6862df93814f3b87746460 (patch) | |
tree | 733c53cead4059479d49952ad05eb12e9a23ee45 /src/components/main/layout/layout_task.rs | |
parent | c753f3ee05a25b2bb756c3b0c3131eac7ad58f1a (diff) | |
download | servo-9dd16e41ab5f63dedd6862df93814f3b87746460.tar.gz servo-9dd16e41ab5f63dedd6862df93814f3b87746460.zip |
Make ComputedStyle fields private and add getters.
This isolates layout code from upcoming refactoring in properties.rs.mako.
Diffstat (limited to 'src/components/main/layout/layout_task.rs')
-rw-r--r-- | src/components/main/layout/layout_task.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs index e039bc7e506..daec55327ef 100644 --- a/src/components/main/layout/layout_task.rs +++ b/src/components/main/layout/layout_task.rs @@ -689,8 +689,7 @@ impl LayoutTask { let thread_safe_child = ThreadSafeLayoutNode::new(&child); thread_safe_child.style() .resolve_color(thread_safe_child.style() - .Background - .get() + .get_background() .background_color) .to_gfx_color() }; |