Bug 1325494 (part 1) - Remove unused NS_IPARSER_FLAG_* flags. r=hsivonen.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 23 Dec 2016 13:21:33 +1100
changeset 458367 0df76d4b7a2744ab8ae900b4605dc6c22a93ca26
parent 458366 22fa3b948119d788d50a02394ab9e3624e8505ef
child 458368 8d182cb2af7e90c57ff5ad45f49dd7a1122b3080
push id40935
push userbmo:cam@mcc.id.au
push dateTue, 10 Jan 2017 07:11:37 +0000
reviewershsivonen
bugs1325494
milestone53.0a1
Bug 1325494 (part 1) - Remove unused NS_IPARSER_FLAG_* flags. r=hsivonen.
parser/htmlparser/nsIParser.h
--- a/parser/htmlparser/nsIParser.h
+++ b/parser/htmlparser/nsIParser.h
@@ -252,22 +252,12 @@ const nsresult  kBadFilename      = NS_E
 const nsresult  kBadURL           = NS_ERROR_HTMLPARSER_BADURL;
 const nsresult  kInvalidParserContext = NS_ERROR_HTMLPARSER_INVALIDPARSERCONTEXT;
 const nsresult  kBlocked          = NS_ERROR_HTMLPARSER_BLOCK;
 const nsresult  kBadStringLiteral = NS_ERROR_HTMLPARSER_UNTERMINATEDSTRINGLITERAL;
 const nsresult  kHierarchyTooDeep = NS_ERROR_HTMLPARSER_HIERARCHYTOODEEP;
 const nsresult  kFakeEndTag       = NS_ERROR_HTMLPARSER_FAKE_ENDTAG;
 const nsresult  kNotAComment      = NS_ERROR_HTMLPARSER_INVALID_COMMENT;
 
-#define NS_IPARSER_FLAG_UNKNOWN_MODE         0x00000000
-#define NS_IPARSER_FLAG_QUIRKS_MODE          0x00000002
-#define NS_IPARSER_FLAG_STRICT_MODE          0x00000004
-#define NS_IPARSER_FLAG_AUTO_DETECT_MODE     0x00000010
-#define NS_IPARSER_FLAG_VIEW_NORMAL          0x00000020
-#define NS_IPARSER_FLAG_VIEW_SOURCE          0x00000040
-#define NS_IPARSER_FLAG_VIEW_ERRORS          0x00000080
-#define NS_IPARSER_FLAG_PLAIN_TEXT           0x00000100
 #define NS_IPARSER_FLAG_XML                  0x00000200
 #define NS_IPARSER_FLAG_HTML                 0x00000400
-#define NS_IPARSER_FLAG_SCRIPT_ENABLED       0x00000800
-#define NS_IPARSER_FLAG_FRAMES_ENABLED       0x00001000
 
-#endif 
+#endif