summaryrefslogtreecommitdiff
path: root/xfa/fde/xml/cfde_xmlchardata.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-04 15:09:44 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-04 19:42:55 +0000
commitb2fb20e0f8e7ea368c541d35ccb61506041f7ddd (patch)
tree9fe1fda4d2e188001028a5dc99b670e8d3a9cb36 /xfa/fde/xml/cfde_xmlchardata.h
parentee62ba2df7297147cccda472f229a8c82bfc22bc (diff)
downloadpdfium-b2fb20e0f8e7ea368c541d35ccb61506041f7ddd.tar.xz
Remove un-needed CFDE_XMLDeclaration
This was just used as the parent to CFDE_XMLCharData but didn't override anything over CFDE_XMLNode. Switch CFDE_XMLCharData to inherit from CFDE_XMLNode and remove CFDE_XMLDeclaration. Change-Id: Ide7507c0d4a6886331b6cebeae0bd7f9e9d738fb Reviewed-on: https://pdfium-review.googlesource.com/3671 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fde/xml/cfde_xmlchardata.h')
-rw-r--r--xfa/fde/xml/cfde_xmlchardata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fde/xml/cfde_xmlchardata.h b/xfa/fde/xml/cfde_xmlchardata.h
index 308ec1721b..ea1d3aa4bf 100644
--- a/xfa/fde/xml/cfde_xmlchardata.h
+++ b/xfa/fde/xml/cfde_xmlchardata.h
@@ -8,9 +8,9 @@
#define XFA_FDE_XML_CFDE_XMLCHARDATA_H_
#include "core/fxcrt/fx_string.h"
-#include "xfa/fde/xml/cfde_xmldeclaration.h"
+#include "xfa/fde/xml/cfde_xmlnode.h"
-class CFDE_XMLCharData : public CFDE_XMLDeclaration {
+class CFDE_XMLCharData : public CFDE_XMLNode {
public:
explicit CFDE_XMLCharData(const CFX_WideString& wsCData);
~CFDE_XMLCharData() override;