diff --git a/ipc/glue/BackgroundImpl.cpp b/ipc/glue/BackgroundImpl.cpp index 2acd406c38b5..99b3b4a0bf57 100644 --- a/ipc/glue/BackgroundImpl.cpp +++ b/ipc/glue/BackgroundImpl.cpp @@ -93,9 +93,6 @@ void AssertIsNotOnMainThread() { THREADSAFETY_ASSERT(!NS_IsMainThread()); } class ParentImpl final : public BackgroundParentImpl { friend class mozilla::ipc::BackgroundParent; - public: - class CreateCallback; - private: class ShutdownObserver; class ForceCloseBackgroundActorsRunnable; @@ -623,19 +620,6 @@ class ParentImpl::CreateActorHelper final : public Runnable { NS_DECL_NSIRUNNABLE }; -class NS_NO_VTABLE ParentImpl::CreateCallback { - public: - NS_INLINE_DECL_REFCOUNTING(CreateCallback) - - virtual void Success(already_AddRefed aActor, - MessageLoop* aMessageLoop) = 0; - - virtual void Failure() = 0; - - protected: - virtual ~CreateCallback() = default; -}; - // ----------------------------------------------------------------------------- // ChildImpl Helper Declarations // -----------------------------------------------------------------------------