diff --git a/layout/svg/base/src/nsSVGInnerSVGFrame.cpp b/layout/svg/base/src/nsSVGInnerSVGFrame.cpp index f0365a0beb7e..81c64de1ed0c 100644 --- a/layout/svg/base/src/nsSVGInnerSVGFrame.cpp +++ b/layout/svg/base/src/nsSVGInnerSVGFrame.cpp @@ -57,7 +57,7 @@ class nsSVGInnerSVGFrame : public nsSVGInnerSVGFrameBase, NS_NewSVGInnerSVGFrame(nsIPresShell* aPresShell, nsIContent* aContent, nsStyleContext* aContext); protected: nsSVGInnerSVGFrame(nsStyleContext* aContext); - nsresult InitSVG(); + NS_IMETHOD InitSVG(); // nsISupports interface: NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr); @@ -134,7 +134,8 @@ nsSVGInnerSVGFrame::nsSVGInnerSVGFrame(nsStyleContext* aContext) : #endif } -nsresult nsSVGInnerSVGFrame::InitSVG() +NS_IMETHODIMP +nsSVGInnerSVGFrame::InitSVG() { NS_ASSERTION(mParent, "no parent");