mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02:00
Moves the `Drop` implementation for `GPUCanvasContext` to a new `DroppableGPUCanvasContext` struct. This ensures the context destruction logic is correctly handled, as the `GPUCanvasContext` struct itself is a DOM struct and should not have a drop implementation. This change aligns with the requirement that DOM types should not implement Drop. Testing: No tests added Fixes: #26488 Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>