Fix scoping in nsSVGSVGElement.cpp. Patch by <jonathan.watt@strath.ac.uk>. SVG only - not part of default builds.

This commit is contained in:
alex%croczilla.com 2004-07-01 15:32:56 +00:00
Родитель 91b0eb9cc7
Коммит 43e81e47bf
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -307,8 +307,10 @@ nsSVGSVGElement::Init()
NS_ENSURE_SUCCESS(rv,rv);
rv = AddMappedSVGValue(nsSVGAtoms::viewBox, mViewBox);
NS_ENSURE_SUCCESS(rv,rv);
}
// DOM property: preserveAspectRatio , #IMPLIED attrib: preserveAspectRatio
{
nsCOMPtr<nsIDOMSVGPreserveAspectRatio> preserveAspectRatio;
rv = NS_NewSVGPreserveAspectRatio(getter_AddRefs(preserveAspectRatio));
NS_ENSURE_SUCCESS(rv,rv);