mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
ComputedValues is now ServoComputedValues
This is the first part of #10185. More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
This commit is contained in:
parent
bed91b3334
commit
c2ad084713
28 changed files with 135 additions and 139 deletions
|
@ -21,7 +21,7 @@ use std::fmt;
|
|||
use std::sync::Arc;
|
||||
use style::context::StyleContext;
|
||||
use style::logical_geometry::LogicalSize;
|
||||
use style::properties::{ComputedValues, TComputedValues};
|
||||
use style::properties::{ServoComputedValues, TComputedValues};
|
||||
use style::values::computed::{LengthOrPercentageOrAuto, LengthOrPercentageOrNone};
|
||||
use util::print_tree::PrintTree;
|
||||
|
||||
|
@ -191,7 +191,7 @@ impl Flow for MulticolFlow {
|
|||
self.block_flow.collect_stacking_contexts(parent_id, contexts)
|
||||
}
|
||||
|
||||
fn repair_style(&mut self, new_style: &Arc<ComputedValues>) {
|
||||
fn repair_style(&mut self, new_style: &Arc<ServoComputedValues>) {
|
||||
self.block_flow.repair_style(new_style)
|
||||
}
|
||||
|
||||
|
@ -276,7 +276,7 @@ impl Flow for MulticolColumnFlow {
|
|||
self.block_flow.collect_stacking_contexts(parent_id, contexts)
|
||||
}
|
||||
|
||||
fn repair_style(&mut self, new_style: &Arc<ComputedValues>) {
|
||||
fn repair_style(&mut self, new_style: &Arc<ServoComputedValues>) {
|
||||
self.block_flow.repair_style(new_style)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue