summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cxml_parser.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-08-10 15:27:10 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-10 19:50:08 +0000
commita12812924fc844823025fa383cc3ec8c1d1e2d4f (patch)
treecb066bac0fffa5e9019ffc047838bcdd6a0c376b /core/fxcrt/xml/cxml_parser.cpp
parent00d2ad12fa9d37581fd12d2ea5ea702c9e2e2e16 (diff)
downloadpdfium-a12812924fc844823025fa383cc3ec8c1d1e2d4f.tar.xz
Rename CFX_UTF8Decoder::AppendChar to AppendCodePoint.
Change-Id: Iec5523492eac3910f5ed105370e9092fd992b1b9 Reviewed-on: https://pdfium-review.googlesource.com/10471 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cxml_parser.cpp')
-rw-r--r--core/fxcrt/xml/cxml_parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/xml/cxml_parser.cpp b/core/fxcrt/xml/cxml_parser.cpp
index 35eca527e6..4d9e3dc469 100644
--- a/core/fxcrt/xml/cxml_parser.cpp
+++ b/core/fxcrt/xml/cxml_parser.cpp
@@ -303,7 +303,7 @@ void CXML_Parser::GetAttrValue(CFX_WideString& value) {
break;
if (ch == '&') {
- decoder.AppendChar(GetCharRef());
+ decoder.AppendCodePoint(GetCharRef());
if (IsEOF()) {
value = decoder.GetResult();
return;
@@ -459,7 +459,7 @@ std::unique_ptr<CXML_Element> CXML_Parser::ParseElementInternal(
iState = 1;
} else if (ch == '&') {
decoder.ClearStatus();
- decoder.AppendChar(GetCharRef());
+ decoder.AppendCodePoint(GetCharRef());
} else {
decoder.Input(ch);
}