зеркало из https://github.com/mozilla/gecko-dev.git
Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr
This commit is contained in:
Родитель
19d81907c6
Коммит
77f79e7a88
|
@ -11,12 +11,6 @@
|
|||
|
||||
using namespace mozilla;
|
||||
|
||||
static nsSVGEnumMapping sZoomAndPanMap[] = {
|
||||
{&nsGkAtoms::disable, nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_DISABLE},
|
||||
{&nsGkAtoms::magnify, nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_MAGNIFY},
|
||||
{nsnull, 0}
|
||||
};
|
||||
|
||||
static bool
|
||||
IsMatchingParameter(const nsAString &aString, const nsAString &aParameterName)
|
||||
{
|
||||
|
@ -148,7 +142,6 @@ SVGFragmentIdentifier::ProcessSVGViewSpec(const nsAString &aViewSpec,
|
|||
}
|
||||
}
|
||||
|
||||
const nsSVGViewBoxRect *oldViewBoxPtr = root->GetViewBoxProperty();
|
||||
if (viewBoxParams) {
|
||||
SaveOldViewBox(root);
|
||||
root->mViewBox.SetBaseValueString(*viewBoxParams, root);
|
||||
|
@ -156,7 +149,6 @@ SVGFragmentIdentifier::ProcessSVGViewSpec(const nsAString &aViewSpec,
|
|||
RestoreOldViewBox(root);
|
||||
}
|
||||
|
||||
const SVGPreserveAspectRatio *oldPARPtr = root->GetPreserveAspectRatioProperty();
|
||||
if (preserveAspectRatioParams) {
|
||||
SaveOldPreserveAspectRatio(root);
|
||||
root->mPreserveAspectRatio.SetBaseValueString(*preserveAspectRatioParams, root);
|
||||
|
@ -164,7 +156,6 @@ SVGFragmentIdentifier::ProcessSVGViewSpec(const nsAString &aViewSpec,
|
|||
RestoreOldPreserveAspectRatio(root);
|
||||
}
|
||||
|
||||
const PRUint16 *oldZoomAndPanPtr = root->GetZoomAndPanProperty();
|
||||
if (zoomAndPanParams) {
|
||||
SaveOldZoomAndPan(root);
|
||||
nsCOMPtr<nsIAtom> valAtom = do_GetAtom(*zoomAndPanParams);
|
||||
|
|
Загрузка…
Ссылка в новой задаче