mirror of
https://github.com/servo/servo.git
synced 2025-10-01 17:19:16 +01:00
style: Simplify the ruby text adjustment.
StyleBuilder keeps a reference to the parent style, so no need to get it as an argument.
This commit is contained in:
parent
e0b834033d
commit
3e2d87d8db
2 changed files with 5 additions and 5 deletions
|
@ -1821,7 +1821,7 @@ pub extern "C" fn Servo_ComputedValues_Inherit(
|
|||
|
||||
if for_text {
|
||||
StyleAdjuster::new(&mut style)
|
||||
.adjust_for_text(reference);
|
||||
.adjust_for_text();
|
||||
}
|
||||
|
||||
style.build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue