Bug 1424548 - Part 9b: Regenerate HTML parser code to remove always-zero offset from CPPONLY code. r=hsivonen
authorChris Peterson <cpeterson@mozilla.com>
Fri, 01 Dec 2017 00:58:56 -0800
changeset 397271 091d01097937d8a543f5bf1242533e4ac42e1c64
parent 397270 9874df8448d800bfb874741b0c183f45b9dcfca6
child 397272 7ea2b1f67e085452228710d80ecda4f15f5b0ff3
push id98497
push usercpeterson@mozilla.com
push dateFri, 22 Dec 2017 05:56:56 +0000
treeherdermozilla-inbound@1fcbcdfba8e5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsivonen
bugs1424548
milestone59.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 1424548 - Part 9b: Regenerate HTML parser code to remove always-zero offset from CPPONLY code. r=hsivonen
parser/html/javasrc/Tokenizer.java
--- a/parser/html/javasrc/Tokenizer.java
+++ b/parser/html/javasrc/Tokenizer.java
@@ -1184,17 +1184,17 @@ public class Tokenizer implements Locato
         attributeName = AttributeName.nameByBuffer(strBuf, strBufLen, interner);
         if (attributeName == null) {
             // [NOCPP[
             attributeName = AttributeName.createAttributeName(
                     Portability.newLocalNameFromBuffer(strBuf, strBufLen,
                             interner),
                     namePolicy != XmlViolationPolicy.ALLOW);
             // ]NOCPP]
-            // CPPONLY:     nonInternedAttributeName.setNameForNonInterned(Portability.newLocalNameFromBuffer(strBuf, 0, strBufLen, interner));
+            // CPPONLY:     nonInternedAttributeName.setNameForNonInterned(Portability.newLocalNameFromBuffer(strBuf, strBufLen, interner));
             // CPPONLY:     attributeName = nonInternedAttributeName;
         }
         clearStrBufAfterUse();
 
         if (attributes == null) {
             attributes = new HtmlAttributes(mappingLangToXmlLang);
         }