diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-08-18 07:31:57 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-08-18 07:31:57 -0600 |
commit | 014608f60c45574e6a347f39a96aa33b8eab02e1 (patch) | |
tree | f345fe126f302dbee6fccc23f795511afbe79f01 /components/layout/layout_task.rs | |
parent | ff6a70fad3545a04a9646121bd1b0725254bebeb (diff) | |
parent | 6aaada64dcdac5201ef0159cfe47848d765e1134 (diff) | |
download | servo-014608f60c45574e6a347f39a96aa33b8eab02e1.tar.gz servo-014608f60c45574e6a347f39a96aa33b8eab02e1.zip |
Auto merge of #7178 - frewsxcv:flow-api-mut, r=nox
flow::Flow should follow *_mut naming conventions
Fixes #7148
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7178)
<!-- Reviewable:end -->
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, |