aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/lints/wpt_lint.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-03-19 14:29:07 +0100
committerSimon Sapin <simon.sapin@exyr.org>2017-03-19 23:12:14 +0100
commit02dc8b286ae1914c2c5839c65d0f0fca7ab92f0c (patch)
tree27128b95cd81caa7de4cdbc09acabb511ab8a9b7 /python/servo/lints/wpt_lint.py
parentbb54f0a429de0e8b8861f8071b6cf82f73622664 (diff)
downloadservo-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