mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
Merge pull request #3478 from zwarich/get-mut-ref
Remove use of deprecated get_mut_ref Reviewed-by: metajack
This commit is contained in:
commit
d9c13352c1
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ impl Flow for TableWrapperFlow {
|
||||||
// Now compute the real value.
|
// Now compute the real value.
|
||||||
let containing_block_inline_size = self.block_flow.base.position.size.inline;
|
let containing_block_inline_size = self.block_flow.base.position.size.inline;
|
||||||
if self.is_float() {
|
if self.is_float() {
|
||||||
self.block_flow.float.get_mut_ref().containing_inline_size =
|
self.block_flow.float.as_mut().unwrap().containing_inline_size =
|
||||||
containing_block_inline_size;
|
containing_block_inline_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue