Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc

This commit is contained in:
Benoit Jacob
2013-12-11 13:05:29 -05:00
parent ffca76ae8c
commit fbec895ac4
6 changed files with 0 additions and 81 deletions

View File

@@ -565,15 +565,6 @@ DeprecatedTextureClient::~DeprecatedTextureClient()
MOZ_ASSERT(mDescriptor.type() == SurfaceDescriptor::T__None, "Need to release surface!");
}
void
DeprecatedTextureClient::OnActorDestroy()
{
if (ISurfaceAllocator::IsShmem(&mDescriptor)) {
mDescriptor = SurfaceDescriptor();
}
}
DeprecatedTextureClientShmem::DeprecatedTextureClientShmem(CompositableForwarder* aForwarder,
const TextureInfo& aTextureInfo)
: DeprecatedTextureClient(aForwarder, aTextureInfo)