mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Upgrade Stylo to 2025-11-01 (#40522)
This continues #39612 Changelog: - Upstream:b98470a5cb...d71fd89b78- Servo fixups:4714bab122...7481d7f7afStylo tracking issue: https://github.com/servo/stylo/issues/264 --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
@@ -12,7 +12,6 @@ use net_traits::ReferrerPolicy;
|
||||
use script_bindings::root::Dom;
|
||||
use servo_arc::Arc;
|
||||
use style::media_queries::MediaList as StyleMediaList;
|
||||
use style::shared_lock::DeepCloneWithLock;
|
||||
use style::stylesheets::{
|
||||
AllowImportRules, Origin, Stylesheet, StylesheetContents, StylesheetInDocument, UrlExtraData,
|
||||
};
|
||||
@@ -252,11 +251,11 @@ impl HTMLStyleElement {
|
||||
let lock = stylesheet_with_shared_contents.shared_lock.clone();
|
||||
let guard = stylesheet_with_shared_contents.shared_lock.read();
|
||||
let stylesheet_with_owned_contents = Arc::new(Stylesheet {
|
||||
contents: lock.wrap(Arc::new(
|
||||
contents: lock.wrap(
|
||||
stylesheet_with_shared_contents
|
||||
.contents(&guard)
|
||||
.deep_clone_with_lock(&lock, &guard),
|
||||
)),
|
||||
.deep_clone(&lock, None, &guard),
|
||||
),
|
||||
shared_lock: lock,
|
||||
media: stylesheet_with_shared_contents.media.clone(),
|
||||
disabled: AtomicBool::new(
|
||||
|
||||
Reference in New Issue
Block a user