mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
webgl: Remove manual Drop implementation for WebGLQuery (#43544)
Moves the cleanup logic to a separate helper struct to comply with the prohibition of manual `Drop` implementations for DOM types. Testing: WebGL tests just cover its parts Fixes: Partially #26488 Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
This commit is contained in:
@@ -824,10 +824,6 @@ DOMInterfaces = {
|
||||
'additionalTraits': ['crate::interfaces::WebGL2RenderingContextHelpers'],
|
||||
},
|
||||
|
||||
'WebGLQuery': {
|
||||
'allowDropImpl': True,
|
||||
},
|
||||
|
||||
'WebGLRenderbuffer': {
|
||||
'allowDropImpl': True,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user