summaryrefslogtreecommitdiffstats
path: root/parser/html/nsHtml5Tokenizer.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-01-16 07:28:40 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-01-16 07:28:40 -0500
commit927c386dd8c9526d8695d0202a08735984dc7b31 (patch)
tree97bf5ff593781ecaa8c51a2a68799b99894e4f31 /parser/html/nsHtml5Tokenizer.cpp
parent635baac21a451a59e98abb38b7bec89f5d08fd75 (diff)
downloadUXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar.gz
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar.lz
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.tar.xz
UXP-927c386dd8c9526d8695d0202a08735984dc7b31.zip
Regenerate nsHtml5*.cpp files from java htmlparser sources
Diffstat (limited to 'parser/html/nsHtml5Tokenizer.cpp')
-rw-r--r--parser/html/nsHtml5Tokenizer.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/parser/html/nsHtml5Tokenizer.cpp b/parser/html/nsHtml5Tokenizer.cpp
index fe1b47ad8..73c6d986f 100644
--- a/parser/html/nsHtml5Tokenizer.cpp
+++ b/parser/html/nsHtml5Tokenizer.cpp
@@ -1,7 +1,8 @@
/*
* Copyright (c) 2005-2007 Henri Sivonen
* Copyright (c) 2007-2015 Mozilla Foundation
- * Copyright (c) 2019 Moonchild Productions
+ * Copyright (c) 2018-2020 Moonchild Productions
+ * Copyright (c) 2020 Binary Outcast
* Portions of comments Copyright 2004-2010 Apple Computer, Inc., Mozilla
* Foundation, and Opera Software ASA.
*
@@ -114,8 +115,7 @@ nsHtml5Tokenizer::setInterner(nsHtml5AtomTable* interner)
}
void
-nsHtml5Tokenizer::initLocation(nsHtml5String newPublicId,
- nsHtml5String newSystemId)
+nsHtml5Tokenizer::initLocation(nsHtml5String newPublicId, nsHtml5String newSystemId)
{
this->systemId = newSystemId;
this->publicId = newPublicId;
@@ -220,11 +220,10 @@ nsHtml5Tokenizer::emitOrAppendCharRefBuf(int32_t returnState)
}
}
-nsHtml5String
+nsHtml5String
nsHtml5Tokenizer::strBufToString()
{
- nsHtml5String str =
- nsHtml5Portability::newStringFromBuffer(strBuf, 0, strBufLen, tokenHandler);
+ nsHtml5String str = nsHtml5Portability::newStringFromBuffer(strBuf, 0, strBufLen, tokenHandler);
clearStrBufAfterUse();
return str;
}