aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-12 14:39:27 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-18 09:12:01 -0400
commit6aaada64dcdac5201ef0159cfe47848d765e1134 (patch)
treeacdc7484179c58dd7377123d414c66af8ecdd444 /components/layout/layout_task.rs
parent3d0951cf256ec07b427eaa2305b85da7a7645359 (diff)
downloadservo-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.rs2
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,