From 9624f91fa7259dea4187abbe1af2c70151da5173 Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Mon, 9 Aug 1999 19:37:18 +0000 Subject: [PATCH] trivial fix to make sure we're storing an nsIHTMLEditor result in an nsCOMPtr variable. --- layout/html/forms/src/nsGfxTextControlFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/html/forms/src/nsGfxTextControlFrame.cpp b/layout/html/forms/src/nsGfxTextControlFrame.cpp index c4e807de749..70b7ff39b11 100644 --- a/layout/html/forms/src/nsGfxTextControlFrame.cpp +++ b/layout/html/forms/src/nsGfxTextControlFrame.cpp @@ -168,7 +168,7 @@ nsGfxTextControlFrame::InitTextControl() mDocObserver->SetFrame(this); NS_ADDREF(mDocObserver); - nsCOMPtr theEditor; + nsCOMPtr theEditor; result = nsComponentManager::CreateInstance(kHTMLEditorCID, nsnull, nsIHTMLEditor::GetIID(), getter_AddRefs(theEditor));