зеркало из https://github.com/mozilla/gecko-dev.git
Fix scoping in nsSVGSVGElement.cpp. Patch by <jonathan.watt@strath.ac.uk>. SVG only - not part of default builds.
This commit is contained in:
Родитель
91b0eb9cc7
Коммит
43e81e47bf
|
@ -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
|
||||
// DOM property: preserveAspectRatio , #IMPLIED attrib: preserveAspectRatio
|
||||
{
|
||||
nsCOMPtr<nsIDOMSVGPreserveAspectRatio> preserveAspectRatio;
|
||||
rv = NS_NewSVGPreserveAspectRatio(getter_AddRefs(preserveAspectRatio));
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
@ -317,7 +319,7 @@ nsSVGSVGElement::Init()
|
|||
preserveAspectRatio);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
rv = AddMappedSVGValue(nsSVGAtoms::preserveAspectRatio,
|
||||
mPreserveAspectRatio);
|
||||
mPreserveAspectRatio);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче