Bug 1093728 - Add AddTextureClient() to CanvasClientSharedSurface::Update() r=nical

This commit is contained in:
Sotaro Ikeda 2014-11-05 08:15:48 -08:00
parent 9005d324a9
commit b299248ef3

View File

@ -374,8 +374,7 @@ CanvasClientSharedSurface::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
MOZ_ASSERT(newTex);
// Add the new TexClient.
MOZ_ALWAYS_TRUE( newTex->InitIPDLActor(forwarder) );
MOZ_ASSERT(newTex->GetIPDLActor());
MOZ_ALWAYS_TRUE( AddTextureClient(newTex) );
// Remove the old TexClient.
if (mFrontTex) {