Bug 957560 - Fix WError build bustage on a CLOSED TREE.

This commit is contained in:
Nicolas Silva 2014-03-31 11:31:39 +08:00
parent db25bebbdc
commit 0b275eb92e

View File

@ -282,7 +282,9 @@ TextureClient::CreateTextureClientForDrawing(ISurfaceAllocator* aAllocator,
aMoz2DBackend = gfxPlatform::GetPlatform()->GetContentBackend();
}
#if defined(XP_WIN) || defined(MOZ_WIDGET_GONK)
int32_t maxTextureSize = aAllocator->GetMaxTextureSize();
#endif
RefPtr<TextureClient> result;