From 1816d7750ff192e0fa7317dd57e8ca54c8f63f82 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Fri, 17 Nov 2023 18:59:12 +0100 Subject: [PATCH] Further changes required by Servo --- components/script/stylesheet_loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs index ab5b643f9b9..a017f5e1eb1 100644 --- a/components/script/stylesheet_loader.rs +++ b/components/script/stylesheet_loader.rs @@ -362,7 +362,7 @@ impl<'a> StyleStylesheetLoader for StylesheetLoader<'a> { lock: &SharedRwLock, media: Arc>, supports: Option, - layer: Option, + layer: ImportLayer, ) -> Arc> { // Ensure the supports conditions for this @import are true, if not, refuse to load if !supports.as_ref().map_or(true, |s| s.enabled) {