Bug 1325494 (part 4) - Remove unused parser IIDs and CIDs. r=hsivonen.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 23 Dec 2016 13:51:04 +1100
changeset 458370 b13a858d683c827d6dd83940b0ccd0b92e5333a8
parent 458369 6e6fbdae596ddd73650db1ccb4e410f76b5ada11
child 458371 f34a234944f753b0d945ed5d4e3e5d8680bebcd4
push id40935
push userbmo:cam@mcc.id.au
push dateTue, 10 Jan 2017 07:11:37 +0000
reviewershsivonen
bugs1325494
milestone53.0a1
Bug 1325494 (part 4) - Remove unused parser IIDs and CIDs. r=hsivonen.
parser/htmlparser/nsIParser.h
parser/htmlparser/nsParserCIID.h
--- a/parser/htmlparser/nsIParser.h
+++ b/parser/htmlparser/nsIParser.h
@@ -25,21 +25,16 @@
 #include "nsTArray.h"
 #include "nsIAtom.h"
 #include "nsParserBase.h"
 
 #define NS_IPARSER_IID \
 { 0x2c4ad90a, 0x740e, 0x4212, \
   { 0xba, 0x3f, 0xfe, 0xac, 0xda, 0x4b, 0x92, 0x9e } }
 
-// {41421C60-310A-11d4-816F-000064657374}
-#define NS_IDEBUG_DUMP_CONTENT_IID \
-{ 0x41421c60, 0x310a, 0x11d4, \
-{ 0x81, 0x6f, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
-
 class nsIContentSink;
 class nsIRequestObserver;
 class nsString;
 class nsIURI;
 class nsIChannel;
 
 enum eParserCommands {
   eViewNormal,
--- a/parser/htmlparser/nsParserCIID.h
+++ b/parser/htmlparser/nsParserCIID.h
@@ -9,31 +9,21 @@
 #include "nsISupports.h"
 #include "nsIFactory.h"
 #include "nsIComponentManager.h"
 
 // {2ce606b0-bee6-11d1-aad9-00805f8a3e14}
 #define NS_PARSER_CID      \
 { 0x2ce606b0, 0xbee6, 0x11d1, { 0xaa, 0xd9, 0x0, 0x80, 0x5f, 0x8a, 0x3e, 0x14 } }
 
-// XXX: This object should not be exposed outside of the parser.
-//      Remove when CNavDTD subclasses do not need access
-#define NS_PARSER_NODE_IID      \
-  {0x9039c670, 0x2717,  0x11d2,  \
-  {0x92, 0x46, 0x00,    0x80, 0x5f, 0x8a, 0x7a, 0xb6}}
-
 // {a6cf9107-15b3-11d2-932e-00805f8add32}
 #define NS_CNAVDTD_CID \
 { 0xa6cf9107, 0x15b3, 0x11d2, { 0x93, 0x2e, 0x0, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
 
 // {FFF4FBE9-528A-4b37-819D-FC18F3A401A7}
 #define NS_EXPAT_DRIVER_CID \
 { 0xfff4fbe9, 0x528a, 0x4b37, { 0x81, 0x9d, 0xfc, 0x18, 0xf3, 0xa4, 0x1, 0xa7 } }
 
-// {a6cf910f-15b3-11d2-932e-00805f8add32}
-#define NS_HTMLCONTENTSINKSTREAM_CID \
-{ 0xa6cf910f, 0x15b3, 0x11d2, { 0x93, 0x2e, 0x0, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
-
 // {a6cf9112-15b3-11d2-932e-00805f8add32}
 #define NS_PARSERSERVICE_CID \
 { 0xa6cf9112, 0x15b3, 0x11d2, { 0x93, 0x2e, 0x0, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
 
 #endif