mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Mark JSTraceable and its method as unsafe
This commit is contained in:
parent
73b6e705b4
commit
620a67ff14
16 changed files with 191 additions and 185 deletions
|
@ -16,8 +16,10 @@ use parking_lot::RwLock;
|
|||
use std::sync::Arc;
|
||||
use style::stylesheets::{CssRules, KeyframesRule, RulesMutateError};
|
||||
|
||||
no_jsmanaged_fields!(RulesSource);
|
||||
no_jsmanaged_fields!(CssRules);
|
||||
#[allow(unsafe_code)]
|
||||
unsafe_no_jsmanaged_fields!(RulesSource);
|
||||
|
||||
unsafe_no_jsmanaged_fields!(CssRules);
|
||||
|
||||
impl From<RulesMutateError> for Error {
|
||||
fn from(other: RulesMutateError) -> Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue