mirror of
https://github.com/servo/servo.git
synced 2025-08-25 23:28:21 +01:00
Auto merge of #10210 - perlun:rename-computedvalues-to-servocomputedvalues, r=SimonSapin
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. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10210) <!-- Reviewable:end -->
This commit is contained in:
commit
639fdd6b12
28 changed files with 135 additions and 139 deletions
|
@ -6,7 +6,7 @@ use app_units::Au;
|
|||
use std::sync::Arc;
|
||||
use style::custom_properties::ComputedValuesMap;
|
||||
use style::logical_geometry::WritingMode;
|
||||
use style::properties::{CascadePropertyFn, ComputedValues, TComputedValues};
|
||||
use style::properties::{CascadePropertyFn, ServoComputedValues, TComputedValues};
|
||||
use style::properties::longhands;
|
||||
use style::properties::style_struct_traits::*;
|
||||
|
||||
|
@ -28,8 +28,8 @@ impl TComputedValues for GeckoComputedValues {
|
|||
% endfor
|
||||
|
||||
// These will go away, and we will never implement them.
|
||||
fn as_servo<'a>(&'a self) -> &'a ComputedValues { unimplemented!() }
|
||||
fn as_servo_mut<'a>(&'a mut self) -> &'a mut ComputedValues { unimplemented!() }
|
||||
fn as_servo<'a>(&'a self) -> &'a ServoComputedValues { unimplemented!() }
|
||||
fn as_servo_mut<'a>(&'a mut self) -> &'a mut ServoComputedValues { unimplemented!() }
|
||||
|
||||
fn new(custom_properties: Option<Arc<ComputedValuesMap>>,
|
||||
shareable: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue