mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 774077 - Fix Clang warning in nsSVGGraphicElement.cpp. r=dholbert.
--HG-- extra : rebase_source : 20a6001c421008c19d6000541077c78819520393
This commit is contained in:
parent
bc392bc7f4
commit
3faefe06c8
@ -237,7 +237,7 @@ void
|
|||||||
nsSVGGraphicElement::SetAnimateMotionTransform(const gfxMatrix* aMatrix)
|
nsSVGGraphicElement::SetAnimateMotionTransform(const gfxMatrix* aMatrix)
|
||||||
{
|
{
|
||||||
if ((!aMatrix && !mAnimateMotionTransform) ||
|
if ((!aMatrix && !mAnimateMotionTransform) ||
|
||||||
aMatrix && mAnimateMotionTransform && *aMatrix == *mAnimateMotionTransform) {
|
(aMatrix && mAnimateMotionTransform && *aMatrix == *mAnimateMotionTransform)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mAnimateMotionTransform = aMatrix ? new gfxMatrix(*aMatrix) : nsnull;
|
mAnimateMotionTransform = aMatrix ? new gfxMatrix(*aMatrix) : nsnull;
|
||||||
|
Loading…
Reference in New Issue
Block a user