зеркало из https://github.com/mozilla/gecko-dev.git
Bug 377892 - Simple clipPath asserting and crashing. r+sr=tor
This commit is contained in:
Родитель
88aa5f3018
Коммит
3ff2d59012
|
@ -97,6 +97,7 @@ nsSVGClipPathFrame::InitSVG()
|
|||
return rv;
|
||||
|
||||
mClipParentMatrix = NULL;
|
||||
mInUse = PR_FALSE;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -87,7 +87,8 @@ class nsSVGClipPathFrame : public nsSVGClipPathFrameBase
|
|||
class AutoClipPathReferencer
|
||||
{
|
||||
public:
|
||||
AutoClipPathReferencer(nsSVGClipPathFrame *aFrame) {
|
||||
AutoClipPathReferencer(nsSVGClipPathFrame *aFrame)
|
||||
: mFrame(aFrame) {
|
||||
NS_ASSERTION(mFrame->mInUse == PR_FALSE, "reference loop!");
|
||||
mFrame->mInUse = PR_TRUE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче