Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley
authorMs2ger <ms2ger@gmail.com>
Sat, 24 Dec 2011 09:28:03 +0100
changeset 83287 b14872f6fd555084a106c7aadb570bf5cd19d55a
parent 83286 f4d8adba8d7494ff58e16b66c27512a87b44e210
child 83288 25d4c80193c8c9700a342e5657c1f5e34190d828
push id21750
push userMs2ger@gmail.com
push dateSat, 24 Dec 2011 08:33:14 +0000
treeherdermozilla-central@b27e13b5cc7b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbholley
bugs711826
milestone12.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley
js/xpconnect/src/xpcprivate.h
--- a/js/xpconnect/src/xpcprivate.h
+++ b/js/xpconnect/src/xpcprivate.h
@@ -3829,41 +3829,16 @@ public:
   {
   }
 
   virtual ~BackstagePass() { }
 
 private:
   nsCOMPtr<nsIPrincipal> mPrincipal;
 };
-
-class nsJSRuntimeServiceImpl : public nsIJSRuntimeService,
-                               public nsSupportsWeakReference
-{
- public:
-    NS_DECL_ISUPPORTS
-    NS_DECL_NSIJSRUNTIMESERVICE
-
-    // This returns an AddRef'd pointer. It does not do this with an out param
-    // only because this form  is required by generic module macro:
-    // NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR
-    static nsJSRuntimeServiceImpl* GetSingleton();
-
-    static void FreeSingleton();
-
-    nsJSRuntimeServiceImpl();
-    virtual ~nsJSRuntimeServiceImpl();
-
-    static void InitStatics() { gJSRuntimeService = nsnull; }
- protected:
-    static nsJSRuntimeServiceImpl* gJSRuntimeService;
-    nsCOMPtr<nsIXPCScriptable> mBackstagePass;
-};
-
-/***************************************************************************/
 // 'Components' object
 
 class nsXPCComponents : public nsIXPCComponents,
                         public nsIXPCScriptable,
                         public nsIClassInfo,
                         public nsISecurityCheckedComponent
 {
 public: