This commit is contained in:
Olli.Pettay%helsinki.fi 2007-02-22 20:13:12 +00:00
Родитель c8510fc713
Коммит fcece1359a
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1171,7 +1171,7 @@ nsSVGSVGElement::DidModifySVGObservable (nsISVGValue* observable,
{
nsIDocument* doc = GetCurrentDoc();
if (!doc) return NS_ERROR_FAILURE;
nsIPresShell* presShell = doc->GetShellAt(0);
nsCOMPtr<nsIPresShell> presShell = doc->GetShellAt(0);
NS_ASSERTION(presShell, "no presShell");
if (!presShell) return NS_ERROR_FAILURE;