Bug 409573 - Null deref [@ nsSVGUseFrame::GetCanvasTM] with filter, use, XBL. r+sr=tor,a1.9=beltzner

This commit is contained in:
longsonr%gmail.com 2007-12-31 14:13:34 +00:00
Родитель ae8e1e114e
Коммит 8c75c2c62a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -244,7 +244,8 @@ nsSVGDisplayContainerFrame::InitialUpdate()
NS_IMETHODIMP
nsSVGDisplayContainerFrame::NotifyCanvasTMChanged(PRBool suppressInvalidation)
{
if (!suppressInvalidation)
if (!suppressInvalidation &&
!(GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD))
nsSVGUtils::UpdateFilterRegion(this);
nsSVGUtils::NotifyChildrenCanvasTMChanged(this, suppressInvalidation);