aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/style/custom_properties.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/style/custom_properties.rs')
-rw-r--r--tests/unit/style/custom_properties.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/style/custom_properties.rs b/tests/unit/style/custom_properties.rs
index 4556e930d02..b7c53535ea5 100644
--- a/tests/unit/style/custom_properties.rs
+++ b/tests/unit/style/custom_properties.rs
@@ -25,6 +25,7 @@ use style::stylesheets::layer_rule::LayerOrder;
use style::stylist::Stylist;
use style::values::computed::font::GenericFontFamily;
use style::values::computed::{Context, Length};
+use style::values::specified::font::QueryFontMetricsFlags;
use test::{self, Bencher};
use url::Url;
@@ -37,8 +38,7 @@ impl FontMetricsProvider for DummyMetricsProvider {
_vertical: bool,
_font: &Font,
_base_size: Length,
- _in_media_query: bool,
- _retrieve_math_scales: bool,
+ _flags: QueryFontMetricsFlags,
) -> FontMetrics {
Default::default()
}