зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f5694be27d
Коммит
95453f865d
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче