diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-03-19 14:29:07 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-03-19 23:12:14 +0100 |
commit | 02dc8b286ae1914c2c5839c65d0f0fca7ab92f0c (patch) | |
tree | 27128b95cd81caa7de4cdbc09acabb511ab8a9b7 /python/servo/lints/wpt_lint.py | |
parent | bb54f0a429de0e8b8861f8071b6cf82f73622664 (diff) | |
download | servo-02dc8b286ae1914c2c5839c65d0f0fca7ab92f0c.tar.gz servo-02dc8b286ae1914c2c5839c65d0f0fca7ab92f0c.zip |
No-op refactor: root_flow param for perform_post_style_recalc_layout_passes
This whole method was a large `if let` block:
```rust
if let Some(mut root_flow) = self.root_flow.clone() {
// ...
}
```
Move that `if let` to callers to make it clear that the method
doesn’t need to be called when `self.root_flow` is `None`.
By itself, this commit doesn’t change anything.
But it enables the next one.
Diffstat (limited to 'python/servo/lints/wpt_lint.py')
0 files changed, 0 insertions, 0 deletions