mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
This was a confusing bug: ImageStyleValue loaded its image resource as a Generic resource, while HTMLImageElement loaded as Image. This patch fixes the issue and adds an assertion to verify that we only share resources that have the same C++ client class type.
3.7 KiB
3.7 KiB