summaryrefslogtreecommitdiff
path: root/core/fxcrt/xml/cfx_xmlparser.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-12 13:53:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-12 13:53:18 +0000
commitbabeeb69b1744e414b46d77de03689682742d99d (patch)
tree27296c83ac37c8a8691ecf7c097c49fbedd9791b /core/fxcrt/xml/cfx_xmlparser.cpp
parente7d5c7f48ead8f5554105da9637fd9de1c093d67 (diff)
downloadpdfium-babeeb69b1744e414b46d77de03689682742d99d.tar.xz
Fixup CFX_XMLParser::GetStatus return
This CL fixes the return type of CFX_XMLParser::GetStatus to correctly return bool instead of int32_t. Change-Id: Ifa0d24b8aad55c4cf63ddf7cfc8eee48bf8431bf Reviewed-on: https://pdfium-review.googlesource.com/30290 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlparser.cpp')
-rw-r--r--core/fxcrt/xml/cfx_xmlparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/xml/cfx_xmlparser.cpp b/core/fxcrt/xml/cfx_xmlparser.cpp
index d0acbc7818..da287cf9cc 100644
--- a/core/fxcrt/xml/cfx_xmlparser.cpp
+++ b/core/fxcrt/xml/cfx_xmlparser.cpp
@@ -696,7 +696,7 @@ FX_XmlSyntaxResult CFX_XMLParser::DoSyntaxParse() {
return FX_XmlSyntaxResult::Text;
}
-int32_t CFX_XMLParser::GetStatus() const {
+bool CFX_XMLParser::GetStatus() const {
if (!m_pStream)
return false;