mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Renamed style structs.
The idea is to rename all style structs from Foo to ServoFoo, as described out in #10185.
This commit is contained in:
parent
a026e86267
commit
96835c6d6f
7 changed files with 110 additions and 100 deletions
|
@ -388,7 +388,7 @@ impl ParentOffsetBorderBoxIterator {
|
|||
|
||||
impl FragmentBorderBoxIterator for FragmentLocatingFragmentIterator {
|
||||
fn process(&mut self, fragment: &Fragment, _: i32, border_box: &Rect<Au>) {
|
||||
let style_structs::Border {
|
||||
let style_structs::ServoBorder {
|
||||
border_top_width: top_width,
|
||||
border_right_width: right_width,
|
||||
border_bottom_width: bottom_width,
|
||||
|
@ -414,7 +414,7 @@ impl FragmentBorderBoxIterator for UnioningFragmentScrollAreaIterator {
|
|||
// increase in size. To work around this, we store the original elements padding
|
||||
// rectangle as `origin_rect` and the union of all child elements padding and
|
||||
// margin rectangles as `union_rect`.
|
||||
let style_structs::Border {
|
||||
let style_structs::ServoBorder {
|
||||
border_top_width: top_border,
|
||||
border_right_width: right_border,
|
||||
border_bottom_width: bottom_border,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue