mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 944386 - Remove some dead cairo fallback code in nsSVGFilterInstance. r=jwatt
This commit is contained in:
parent
d0ceef6534
commit
cfa84a4da9
@ -480,14 +480,8 @@ nsSVGFilterInstance::Render(gfxContext* aContext)
|
||||
mInputImages);
|
||||
|
||||
RefPtr<SourceSurface> resultImageSource;
|
||||
if (!aContext->IsCairo()) {
|
||||
if (resultImage) {
|
||||
RefPtr<DrawTarget> dt = aContext->GetDrawTarget();
|
||||
resultImageSource =
|
||||
gfxPlatform::GetPlatform()->GetSourceSurfaceForSurface(dt, resultImage);
|
||||
} else {
|
||||
resultImageSource = resultImageDT->Snapshot();
|
||||
}
|
||||
if (!resultImage) {
|
||||
resultImageSource = resultImageDT->Snapshot();
|
||||
}
|
||||
|
||||
gfxMatrix ctm = GetFilterSpaceToDeviceSpaceTransform();
|
||||
|
Loading…
Reference in New Issue
Block a user