Bug 1228103 bustage follow-up. rs=Tomcat.
authorHenri Sivonen <hsivonen@hsivonen.fi>
Tue, 09 Feb 2016 13:08:03 +0200
changeset 283614 202de45bc0d4da8b1fb0843d3db2796ce4a8366a
parent 283613 d7a8f54d6f6ba9bae4f655f117a7cc115e6bc8c2
child 283615 22ef3a056e12c4956c5523917aa3c48713e4cb79
push id29988
push usercbook@mozilla.com
push dateWed, 10 Feb 2016 10:47:59 +0000
treeherdermozilla-central@7042e8a19f94 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersTomcat
bugs1228103
milestone47.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 1228103 bustage follow-up. rs=Tomcat.
parser/htmlparser/nsScanner.cpp
--- a/parser/htmlparser/nsScanner.cpp
+++ b/parser/htmlparser/nsScanner.cpp
@@ -18,19 +18,16 @@
 #include "nsCRT.h"
 #include "nsParser.h"
 #include "nsCharsetSource.h"
 
 #include "mozilla/dom/EncodingUtils.h"
 
 using mozilla::dom::EncodingUtils;
 
-// We replace NUL characters with this character.
-static char16_t sInvalid = UCS2_REPLACEMENT_CHAR;
-
 nsReadEndCondition::nsReadEndCondition(const char16_t* aTerminateChars) :
   mChars(aTerminateChars), mFilter(char16_t(~0)) // All bits set
 {
   // Build filter that will be used to filter out characters with
   // bits that none of the terminal chars have. This works very well
   // because terminal chars often have only the last 4-6 bits set and
   // normal ascii letters have bit 7 set. Other letters have even higher
   // bits set.