From 5aedfad1868acdfd22f018a3300c84892ad7bdcb Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Sat, 8 Sep 2018 14:47:24 -0400 Subject: [PATCH] Bug 1489793 - Part 2: Remove nsComposerRegistration.cpp; r=masayuki Differential Revision: https://phabricator.services.mozilla.com/D5372 --- editor/composer/moz.build | 1 - editor/composer/nsComposerRegistration.cpp | 46 ---------------------- 2 files changed, 47 deletions(-) delete mode 100644 editor/composer/nsComposerRegistration.cpp diff --git a/editor/composer/moz.build b/editor/composer/moz.build index 23119de73002..e4d92a0308bb 100644 --- a/editor/composer/moz.build +++ b/editor/composer/moz.build @@ -16,7 +16,6 @@ XPIDL_MODULE = 'composer' UNIFIED_SOURCES += [ 'ComposerCommandsUpdater.cpp', - 'nsComposerRegistration.cpp', 'nsEditingSession.cpp', ] diff --git a/editor/composer/nsComposerRegistration.cpp b/editor/composer/nsComposerRegistration.cpp deleted file mode 100644 index 4775c4ca87cd..000000000000 --- a/editor/composer/nsComposerRegistration.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -#include "mozilla/HTMLEditorController.h" // for HTMLEditorController, etc -#include "mozilla/Module.h" // for Module, Module::CIDEntry, etc -#include "mozilla/ModuleUtils.h" -#include "mozilla/mozalloc.h" // for operator new -#include "nsCOMPtr.h" // for nsCOMPtr, getter_AddRefs, etc -#include "nsBaseCommandController.h" // for nsBaseCommandController -#include "nsComponentManagerUtils.h" // for do_CreateInstance -#include "nsDebug.h" // for NS_ENSURE_SUCCESS -#include "nsError.h" // for NS_ERROR_NO_AGGREGATION, etc -#include "nsIController.h" // for nsIController -#include "nsIControllerContext.h" // for nsIControllerContext -#include "nsID.h" // for NS_DEFINE_NAMED_CID, etc -#include "nsISupportsImpl.h" -#include "nsISupportsUtils.h" // for NS_ADDREF, NS_RELEASE -#include "nsControllerCommandTable.h" // for nsControllerCommandTable, etc -#include "nsServiceManagerUtils.h" // for do_GetService -#include "nscore.h" // for nsresult - -class nsISupports; - -//////////////////////////////////////////////////////////////////////// -// Define the contructor function for the objects -// -// NOTE: This creates an instance of objects by using the default constructor -// - -static const mozilla::Module::CIDEntry kComposerCIDs[] = { - { nullptr } -}; - -static const mozilla::Module::ContractIDEntry kComposerContracts[] = { - { nullptr } -}; - -static const mozilla::Module kComposerModule = { - mozilla::Module::kVersion, - kComposerCIDs, - kComposerContracts -}; - -NSMODULE_DEFN(nsComposerModule) = &kComposerModule;