Skip to content

Commit cc74fed

Browse files
committed
Further changes required by Servo
1 parent 02d92be commit cc74fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/script/stylesheet_loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ impl<'a> StyleStylesheetLoader for StylesheetLoader<'a> {
362362
lock: &SharedRwLock,
363363
media: Arc<Locked<MediaList>>,
364364
supports: Option<ImportSupportsCondition>,
365-
layer: Option<ImportLayer>,
365+
layer: ImportLayer,
366366
) -> Arc<Locked<ImportRule>> {
367367
// Ensure the supports conditions for this @import are true, if not, refuse to load
368368
if !supports.as_ref().map_or(true, |s| s.enabled) {

0 commit comments

Comments
 (0)