mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Bug 1234343 (part 2) - Add a missing GfxMemoryImageReporter::DidAlloc() call. r=Bas.
--HG-- extra : rebase_source : 12a3b1cbdb89627ff956bf34021ba88de4e418a9
This commit is contained in:
parent
59e6a9ae67
commit
ef979a7523
@ -109,6 +109,8 @@ BufferTextureData::CreateInternal(ISurfaceAllocator* aAllocator,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
GfxMemoryImageReporter::DidAlloc(buffer);
|
||||
|
||||
return new MemoryTextureData(aDesc, aMoz2DBackend, buffer, aBufferSize);
|
||||
} else {
|
||||
ipc::Shmem shm;
|
||||
|
Loading…
x
Reference in New Issue
Block a user