From 328fb25a65b94a91005aa47dca5aa7013779c4ae Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Fri, 9 Jun 2017 12:47:39 -0500 Subject: Implemented paint worklet rendering context. --- components/script/dom/window.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/dom/window.rs') diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 837e10c921b..59c3c678fb3 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -152,6 +152,7 @@ pub enum ReflowReason { ImageLoaded, RequestAnimationFrame, WebFontLoaded, + WorkletLoaded, FramedContentChanged, IFrameLoadEvent, MissingExplicitReflow, @@ -1939,6 +1940,7 @@ fn debug_reflow_events(id: PipelineId, goal: &ReflowGoal, query_type: &ReflowQue ReflowReason::ImageLoaded => "\tImageLoaded", ReflowReason::RequestAnimationFrame => "\tRequestAnimationFrame", ReflowReason::WebFontLoaded => "\tWebFontLoaded", + ReflowReason::WorkletLoaded => "\tWorkletLoaded", ReflowReason::FramedContentChanged => "\tFramedContentChanged", ReflowReason::IFrameLoadEvent => "\tIFrameLoadEvent", ReflowReason::MissingExplicitReflow => "\tMissingExplicitReflow", -- cgit v1.2.3