fix: AdjustAmountOfExternalAllocatedMemory regression in NativeImage destructor (#29179)
This commit is contained in:
parent
071fa2ab8f
commit
2806664bd0
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ NativeImage::~NativeImage() {
|
|||
auto* const image_skia = image_.ToImageSkia();
|
||||
if (!image_skia->isNull()) {
|
||||
isolate_->AdjustAmountOfExternalAllocatedMemory(
|
||||
image_skia->bitmap()->computeByteSize());
|
||||
-static_cast<int64_t>(image_skia->bitmap()->computeByteSize()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue