diff --git a/mozilla/layout/svg/base/src/nsSVGGraphicFrame.cpp b/mozilla/layout/svg/base/src/nsSVGGraphicFrame.cpp index d2b05984264..9f0db7cb958 100644 --- a/mozilla/layout/svg/base/src/nsSVGGraphicFrame.cpp +++ b/mozilla/layout/svg/base/src/nsSVGGraphicFrame.cpp @@ -95,7 +95,6 @@ nsSVGGraphicFrame::Init(nsIPresContext* aPresContext, nsStyleContext* aContext, nsIFrame* aPrevInFlow) { - nsresult rv; // rv = nsSVGGraphicFrameBase::Init(aPresContext, aContent, aParent, // aContext, aPrevInFlow); @@ -105,9 +104,9 @@ nsSVGGraphicFrame::Init(nsIPresContext* aPresContext, Init(); - rv = SetStyleContext(aPresContext, aContext); + SetStyleContext(aPresContext, aContext); - return rv; + return NS_OK; } NS_IMETHODIMP