[X2Go-Commits] [pale-moon] 243/294: Revert "add a nullptr check in nsSVGUtils::PaintFrameWithEffects"
git-admin at x2go.org
git-admin at x2go.org
Sat Apr 27 08:58:23 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.
commit 81cdb56fa3e232a232745a76effeda8f407b6f65
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date: Sat Apr 6 20:35:14 2019 +0200
Revert "add a nullptr check in nsSVGUtils::PaintFrameWithEffects"
This reverts commit 00baf283622b47ad7926c6e62364854d3dfbc00a.
---
layout/svg/nsSVGUtils.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layout/svg/nsSVGUtils.cpp b/layout/svg/nsSVGUtils.cpp
index b8794a0..0bded21 100644
--- a/layout/svg/nsSVGUtils.cpp
+++ b/layout/svg/nsSVGUtils.cpp
@@ -685,7 +685,7 @@ nsSVGUtils::PaintFrameWithEffects(nsIFrame *aFrame,
bool isOK = effectProperties.HasNoFilterOrHasValidFilter();
nsSVGClipPathFrame *clipPathFrame = effectProperties.GetClipPathFrame(&isOK);
nsSVGMaskFrame *maskFrame = effectProperties.GetFirstMaskFrame(&isOK);
- if (!isOK || !maskFrame) {
+ if (!isOK) {
// Some resource is invalid. We shouldn't paint anything.
return DrawResult::SUCCESS;
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list