зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1319667 - (follow-up) Remove incorrect assertion. r=me
If the size of mask is empty, we wil hit this assertion, which is wrong. MozReview-Commit-ID: LgulkGPsjyH --HG-- extra : rebase_source : fbf8fc05a0bfa16b28599726f8ee85d4468d5d86
This commit is contained in:
Родитель
6da2cf4ec8
Коммит
da357af099
|
@ -892,7 +892,6 @@ nsSVGIntegrationUtils::PaintMaskAndClipPath(const PaintFramesParams& aParams)
|
||||||
maskFrames, offsetToUserSpace);
|
maskFrames, offsetToUserSpace);
|
||||||
|
|
||||||
if (paintResult.transparentBlackMask) {
|
if (paintResult.transparentBlackMask) {
|
||||||
MOZ_ASSERT(paintResult.result != DrawResult::SUCCESS);
|
|
||||||
return paintResult.result;
|
return paintResult.result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче