mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
layout: Replace ConstructionResult::swap_out() with get()
It only actually swaps out in nonincremental mode (which isn't suitable for real world use), so the name is confusing.
This commit is contained in:
parent
c32181c6db
commit
198662f8cb
2 changed files with 10 additions and 15 deletions
|
@ -774,7 +774,7 @@ impl LayoutThread {
|
|||
Some(x) => x,
|
||||
None => return None,
|
||||
};
|
||||
let result = data.flow_construction_result.swap_out();
|
||||
let result = data.flow_construction_result.get();
|
||||
|
||||
let mut flow = match result {
|
||||
ConstructionResult::Flow(mut flow, abs_descendants) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue