From b394ee22d54190c3f7f800a04a91b1ec480fd09a Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Tue, 18 Dec 2001 07:25:59 +0000 Subject: [PATCH] More de-COMifying nsHTMLReflow uses. Be nice to SVG now. Bug #115113 --- layout/svg/base/src/nsSVGOuterSVGFrame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/svg/base/src/nsSVGOuterSVGFrame.cpp b/layout/svg/base/src/nsSVGOuterSVGFrame.cpp index ba363dd65ddf..9938c2352ecb 100644 --- a/layout/svg/base/src/nsSVGOuterSVGFrame.cpp +++ b/layout/svg/base/src/nsSVGOuterSVGFrame.cpp @@ -1048,8 +1048,8 @@ void nsSVGOuterSVGFrame::InitiateReflow() mNeedsReflow = PR_FALSE; // Generate a reflow command to reflow ourselves - nsCOMPtr reflowCmd; - NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), this, eReflowType_ReflowDirty); + nsHTMLReflowCommand *reflowCmd; + NS_NewHTMLReflowCommand(&reflowCmd, this, eReflowType_ReflowDirty); if (!reflowCmd) { NS_ERROR("error creating reflow command object"); return;