diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-08-12 14:39:27 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-08-18 09:12:01 -0400 |
commit | 6aaada64dcdac5201ef0159cfe47848d765e1134 (patch) | |
tree | acdc7484179c58dd7377123d414c66af8ecdd444 /components/layout/layout_task.rs | |
parent | 3d0951cf256ec07b427eaa2305b85da7a7645359 (diff) | |
download | servo-6aaada64dcdac5201ef0159cfe47848d765e1134.tar.gz servo-6aaada64dcdac5201ef0159cfe47848d765e1134.zip |
flow::Flow should follow *_mut naming conventions
Fixes #7148
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 01f99285e9c..4c982ec9661 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -1541,7 +1541,7 @@ fn get_root_flow_background_color(flow: &mut Flow) -> AzColor { return color::transparent() } - let block_flow = flow.as_block(); + let block_flow = flow.as_mut_block(); let kid = match block_flow.base.children.iter_mut().next() { None => return color::transparent(), Some(kid) => kid, |