Commit 0f724b24 authored by Ms2ger's avatar Ms2ger
Browse files

Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley

parent 045c664f
Loading
Loading
Loading
Loading
+0 −25
Original line number Diff line number Diff line
@@ -3834,31 +3834,6 @@ public:
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,