mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Fix unit test build.
This commit is contained in:
parent
60e28c61e5
commit
c7fc80c5a3
2 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
use cssparser::{Parser, ParserInput};
|
||||
use servo_arc::Arc;
|
||||
use style::custom_properties::{Name, SpecifiedValue, CustomPropertiesMap, CustomPropertiesBuilder};
|
||||
use style::properties::DeclaredValue;
|
||||
use style::properties::CustomDeclarationValue;
|
||||
use test::{self, Bencher};
|
||||
|
||||
fn cascade(
|
||||
|
@ -21,7 +21,7 @@ fn cascade(
|
|||
let mut builder = CustomPropertiesBuilder::new(inherited);
|
||||
|
||||
for &(ref name, ref val) in &values {
|
||||
builder.cascade(name, DeclaredValue::Value(val));
|
||||
builder.cascade(name, &CustomDeclarationValue::Value(val.clone()));
|
||||
}
|
||||
|
||||
builder.build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue