mirror of
https://github.com/servo/servo.git
synced 2025-07-25 16:20:36 +01:00
Implemented paint worklet properties.
This commit is contained in:
parent
de331c6bc8
commit
ef033b8362
29 changed files with 353 additions and 118 deletions
|
@ -386,10 +386,7 @@ impl Window {
|
|||
|
||||
fn new_paint_worklet(&self) -> Root<Worklet> {
|
||||
debug!("Creating new paint worklet.");
|
||||
let worklet = Worklet::new(self, WorkletGlobalScopeType::Paint);
|
||||
let executor = Arc::new(worklet.executor());
|
||||
let _ = self.layout_chan.send(Msg::SetPaintWorkletExecutor(executor));
|
||||
worklet
|
||||
Worklet::new(self, WorkletGlobalScopeType::Paint)
|
||||
}
|
||||
|
||||
pub fn permission_state_invocation_results(&self) -> &DOMRefCell<HashMap<String, PermissionState>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue