mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
refactor: add CanGc as argument to OffscreenCanvas methods (#35731)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
494ebaa751
commit
4f8d816385
2 changed files with 12 additions and 6 deletions
|
@ -414,6 +414,10 @@ DOMInterfaces = {
|
|||
'canGc': ['StartRendering'],
|
||||
},
|
||||
|
||||
'OffscreenCanvas': {
|
||||
'canGc': ['GetContext', 'SetHeight', 'SetWidth'],
|
||||
},
|
||||
|
||||
'OffscreenCanvasRenderingContext2D': {
|
||||
'canGc': ['CreateImageData', 'CreateImageData_', 'GetImageData', 'GetTransform', 'SetFont', 'FillText', 'MeasureText', 'SetStrokeStyle', 'SetFillStyle', 'SetShadowColor'],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue