mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 822143. Remove unused pattern from CreateSamplingRestrictedDrawable. r=mstange
Seems this got left behind when converting to gfxDrawable in bug 572680. --HG-- extra : rebase_source : 48fcd3ec1307539b2d587a44e245359fabcd9de5
This commit is contained in:
parent
f5523fcce2
commit
ed3cb85b8c
@ -261,10 +261,6 @@ CreateSamplingRestrictedDrawable(gfxDrawable* aDrawable,
|
||||
aDrawable->Draw(tmpCtx, needed - needed.TopLeft(), true,
|
||||
gfxPattern::FILTER_FAST, gfxMatrix().Translate(needed.TopLeft()));
|
||||
|
||||
nsRefPtr<gfxPattern> resultPattern = new gfxPattern(temp);
|
||||
if (!resultPattern)
|
||||
return nullptr;
|
||||
|
||||
nsRefPtr<gfxDrawable> drawable =
|
||||
new gfxSurfaceDrawable(temp, size, gfxMatrix().Translate(-needed.TopLeft()));
|
||||
return drawable.forget();
|
||||
|
Loading…
Reference in New Issue
Block a user