Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE

This commit is contained in:
Benoit Jacob 2013-04-17 17:18:15 -04:00
parent 568cea39db
commit b96c4b3714

View File

@ -159,6 +159,7 @@ ImageClientSingle::UpdateImage(ImageContainer* aContainer,
return false;
}
mTextureClient->SetDescriptor(desc);
#ifdef MOZ_WIDGET_GONK
} else if (image->GetFormat() == GONK_IO_SURFACE) {
EnsureTextureClient(TEXTURE_SHARED_GL_EXTERNAL);
@ -174,6 +175,7 @@ ImageClientSingle::UpdateImage(ImageContainer* aContainer,
return false;
}
mTextureClient->SetDescriptor(desc);
#endif
} else {
nsRefPtr<gfxASurface> surface = image->GetAsSurface();
MOZ_ASSERT(surface);