diff options
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 440a412a979..8e6b89e12f9 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -454,7 +454,7 @@ pub enum DocumentState { /// For a given pipeline, whether any animations are currently running /// and any animation callbacks are queued -#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)] +#[derive(Clone, Copy, Debug, Deserialize, Eq, PartialEq, Serialize)] pub enum AnimationState { /// Animations are active but no callbacks are queued AnimationsPresent, @@ -966,7 +966,7 @@ pub struct WorkerScriptLoadOrigin { /// the referrer policy which is used pub referrer_policy: Option<ReferrerPolicy>, /// the pipeline id of the entity requesting the load - pub pipeline_id: Option<PipelineId>, + pub pipeline_id: PipelineId, } /// Errors from executing a paint worklet |