Bug 1236802 (part 2) - Remove a dead CurrentSurface() call. r=mattwoodrow.

--HG--
extra : rebase_source : 73638b86f45432bfe400b145379c996480879390
This commit is contained in:
Nicholas Nethercote 2016-01-10 14:05:27 -08:00
parent f13b985259
commit fd022a1ff9

View File

@ -862,7 +862,6 @@ Transform3D(RefPtr<SourceSurface> aSource,
aDestRect.RoundOut();
// Create a surface the size of the transformed object.
RefPtr<gfxASurface> dest = aDest->CurrentSurface();
RefPtr<gfxImageSurface> destImage = new gfxImageSurface(IntSize(aDestRect.width,
aDestRect.height),
SurfaceFormat::A8R8G8B8_UINT32);