Bug 817276 - Part c: Remove dead definition of the nsContractIDMapData struct; r=jst
authorMs2ger <ms2ger@gmail.com>
Sun, 02 Dec 2012 09:59:54 +0100
changeset 114735 0352a32fde641499ebb548d5f207d27e58ac6a69
parent 114734 efdd102c3afc83c46e47933790d4bea06c7168a5
child 114736 cb8a12cef540ce45deb05a689dc432150beab73e
push id18941
push userMs2ger@gmail.com
push dateSun, 02 Dec 2012 10:33:24 +0000
treeherdermozilla-inbound@cb8a12cef540 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjst
bugs817276
milestone20.0a1
first release with
nightly linux32
0352a32fde64 / 20.0a1 / 20121202030723 / files
nightly linux64
0352a32fde64 / 20.0a1 / 20121202030723 / files
nightly mac
0352a32fde64 / 20.0a1 / 20121202030723 / files
nightly win32
0352a32fde64 / 20.0a1 / 20121202030723 / files
nightly win64
0352a32fde64 / 20.0a1 / 20121202030723 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 817276 - Part c: Remove dead definition of the nsContractIDMapData struct; r=jst
dom/base/nsDOMClassInfo.cpp
--- a/dom/base/nsDOMClassInfo.cpp
+++ b/dom/base/nsDOMClassInfo.cpp
@@ -1703,23 +1703,16 @@ static nsDOMClassInfoData sClassInfoData
 #endif
 
 #ifdef MOZ_AUDIO_CHANNEL_MANAGER
   NS_DEFINE_CLASSINFO_DATA(AudioChannelManager, nsEventTargetSH,
                            EVENTTARGET_SCRIPTABLE_FLAGS)
 #endif
 };
 
-// Objects that should be constructable through |new Name();|
-struct nsContractIDMapData
-{
-  int32_t mDOMClassInfoID;
-  const char *mContractID;
-};
-
 #define NS_DEFINE_CONTRACT_CTOR(_class, _contract_id)                           \
   nsresult                                                                      \
   _class##Ctor(nsISupports** aInstancePtrResult)                                \
   {                                                                             \
     nsresult rv = NS_OK;                                                        \
     nsCOMPtr<nsISupports> native = do_CreateInstance(_contract_id, &rv);        \
     native.forget(aInstancePtrResult);                                          \
     return rv;                                                                  \