mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
eaeeb6d003
Dispatch nsRefPtr<RasterImage> to the main thread by NS_ProxyRelease to avoid RasterImage from being destructed by the DecodeJob thread. (If gMultithreadedDecoding is true.) Therefore, DiscardTracker can safely access RasterImage::Discard() by the raw pointer in DiscardTracker::Node. |
||
---|---|---|
.. | ||
build | ||
decoders | ||
encoders | ||
public | ||
src | ||
test | ||
moz.build |