зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1712855 - Fix assertion when recording SVG image blobs with non-integer translation transforms. r=jrmuizel
When we rasterized SVG images on the main thread of the content process, we would call gfxUtils::DrawPixelSnapped with aUseOptimalFillOp set to false. We should do the same when recording them. Differential Revision: https://phabricator.services.mozilla.com/D116398
This commit is contained in:
Родитель
751f4ef52c
Коммит
0edec1bed5
|
@ -213,7 +213,7 @@ Maybe<BlobImageKeyData> SourceSurfaceBlobImage::RecordDrawing(
|
|||
|
||||
gfxUtils::DrawPixelSnapped(ctx, svgDrawable, SizeDouble(mSize), region,
|
||||
SurfaceFormat::OS_RGBA, SamplingFilter::POINT,
|
||||
mImageFlags);
|
||||
mImageFlags, /* aUseOptimalFillOp */ false);
|
||||
}
|
||||
|
||||
recorder->FlushItem(imageRectOrigin);
|
||||
|
|
Загрузка…
Ссылка в новой задаче