nsSingletonFactory
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 69 d09f8c6883b5fea4797d39d21345ead6b7f96ed3
permissions -rw-r--r--
State as of now

diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -953,7 +953,7 @@ ScopedXPCOMStartup::DoAutoreg()
  * This is a little factory class that serves as a singleton-service-factory
  * for the nativeappsupport object.
  */
-class nsSingletonFactory : public nsIFactory
+class nsSingletonFactory : public XPCOMGCFinalizedObject, public nsIFactory
 {
 public:
   NS_DECL_ISUPPORTS