зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1299715 - Part 4. Correct clip region for clip-path mask surface. r=mstange
MozReview-Commit-ID: IOFOyS18yRm --HG-- extra : rebase_source : e322b19333b6b97f879ed2e668faeffc6a1cc87c
This commit is contained in:
Родитель
bedd15c17a
Коммит
84d4f4c4c5
|
@ -852,13 +852,12 @@ nsSVGIntegrationUtils::PaintMaskAndClipPath(const PaintFramesParams& aParams)
|
|||
matSR.SetContext(&context);
|
||||
|
||||
SetupContextMatrix(firstFrame, aParams, offsetToBoundingBox,
|
||||
offsetToUserSpace, true);
|
||||
offsetToUserSpace, false);
|
||||
Matrix clippedMaskTransform;
|
||||
RefPtr<SourceSurface> clipMaskSurface =
|
||||
clipPathFrame->GetClipMask(context, frame, cssPxToDevPxMatrix,
|
||||
&clippedMaskTransform, maskSurface,
|
||||
maskTransform, &result);
|
||||
context.PopClip();
|
||||
|
||||
if (clipMaskSurface) {
|
||||
maskSurface = clipMaskSurface;
|
||||
|
|
Загрузка…
Ссылка в новой задаче