mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 805013 - Paper over the browser-chrome crashes from certain circumstances that run ~RasterImage off the main thread. r=joe
This commit is contained in:
parent
50c3369029
commit
14b7a56e24
@ -421,7 +421,9 @@ RasterImage::~RasterImage()
|
||||
num_containers--;
|
||||
total_source_bytes -= mSourceData.Length();
|
||||
|
||||
DiscardTracker::Remove(&mDiscardTrackerNode);
|
||||
if (NS_IsMainThread()) {
|
||||
DiscardTracker::Remove(&mDiscardTrackerNode);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user