mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 757177: Remove unused variables from SVGFragmentIdentifier.cpp. r=longsonr
This commit is contained in:
parent
a730b2ffe9
commit
1bc91e5a66
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user