From 4fca64717ee6b5eee4846065dce5a64bd12e75eb Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Thu, 9 Dec 1999 21:44:16 +0000 Subject: [PATCH] nsCOMPtr is supposed to wrap interface references and not class references r= chofmann@netscape.com danm@netscape.com # 20193 git-svn-id: svn://10.0.0.236/trunk@55812 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/dom/src/base/nsJSEnvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/dom/src/base/nsJSEnvironment.cpp b/mozilla/dom/src/base/nsJSEnvironment.cpp index 9fedba79c9b..053ee3fcddb 100644 --- a/mozilla/dom/src/base/nsJSEnvironment.cpp +++ b/mozilla/dom/src/base/nsJSEnvironment.cpp @@ -537,7 +537,7 @@ nsJSContext::CallEventHandler(void *aTarget, void *aHandler, PRUint32 argc, // when going through the "close window" key event handler // (that is, hitting ^W on Windows). the addref just below // prevents our untimely destruction. - nsCOMPtr kungFuDeathGrip(this); + nsCOMPtr kungFuDeathGrip(this); mRef = nsnull; mTerminationFunc = nsnull;