Bug 1602113 - Add missing include of nsComponentManagerUtils.h to saxparser. r=frg
authorBill Gianopoulos <wgianopoulos@gmail.com>
Sat, 07 Dec 2019 08:41:43 -0500
changeset 37711 9d375b52da67d7132c9e546677786c023bf3492d
parent 37710 b4407c454f23ceae0e7ba0470ce7261120a4f1fc
child 37712 47abcfb577cb8252205b8a1303de38e667b7fcfb
push id397
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:16:13 +0000
reviewersfrg
bugs1602113
Bug 1602113 - Add missing include of nsComponentManagerUtils.h to saxparser. r=frg
common/saxparser/nsSAXXMLReader.cpp
--- a/common/saxparser/nsSAXXMLReader.cpp
+++ b/common/saxparser/nsSAXXMLReader.cpp
@@ -6,16 +6,17 @@
 #include "nsSAXXMLReader.h"
 
 #include "mozilla/Encoding.h"
 #include "mozilla/NullPrincipal.h"
 #include "nsIInputStream.h"
 #include "nsNetCID.h"
 #include "nsNetUtil.h"
 #include "nsIParser.h"
+#include "nsComponentManagerUtils.h"     // for do_CreateInstance
 #include "nsParserCIID.h"
 #include "nsStreamUtils.h"
 #include "nsStringStream.h"
 #include "nsIScriptError.h"
 #include "nsSAXAttributes.h"
 #include "nsCharsetSource.h"
 
 using mozilla::Encoding;