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 328577 0df76d4b7a2744ab8ae900b4605dc6c22a93ca26
parent 328576 22fa3b948119d788d50a02394ab9e3624e8505ef
child 328578 8d182cb2af7e90c57ff5ad45f49dd7a1122b3080
push id85489
push usernnethercote@mozilla.com
push dateMon, 09 Jan 2017 22:55:48 +0000
treeherdermozilla-inbound@f34a234944f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsivonen
bugs1325494
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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