Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Backed out changeset 512a1fd86008 (bug 892285) for failures in invali…
Browse files Browse the repository at this point in the history
…dation/test-animated-image-layers.html
  • Loading branch information
Ed Morley committed Jul 12, 2013
1 parent 759999d commit 0ba9525
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gfx/layers/client/TextureClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,10 @@ DeprecatedTextureClientShmem::GetSurface()
void
DeprecatedTextureClientShmem::Unlock()
{
if (mSurface) {
mSurface = nullptr;
ShadowLayerForwarder::CloseDescriptor(mDescriptor);
}
mSurface = nullptr;
mSurfaceAsImage = nullptr;

ShadowLayerForwarder::CloseDescriptor(mDescriptor);
}

gfxImageSurface*
Expand Down

0 comments on commit 0ba9525

Please sign in to comment.