From ae2aec8712aa4c52454737467869b9d256baa05f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 18 Oct 2018 21:34:50 +0000 Subject: Do IWYU for core/fxcrt/xml headers. Also make more core/fxcrt/xml member variable names consistent in style. Change-Id: I892841b4026df302aa28f754441bf21707e96764 Reviewed-on: https://pdfium-review.googlesource.com/c/44171 Reviewed-by: Ryan Harrison Commit-Queue: Lei Zhang --- fxjs/xfa/cjx_node.cpp | 2 ++ fxjs/xfa/cjx_object.cpp | 1 + fxjs/xfa/cjx_object.h | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'fxjs') diff --git a/fxjs/xfa/cjx_node.cpp b/fxjs/xfa/cjx_node.cpp index 49cd041c88..c78ddccd0b 100644 --- a/fxjs/xfa/cjx_node.cpp +++ b/fxjs/xfa/cjx_node.cpp @@ -12,6 +12,8 @@ #include "core/fxcrt/cfx_memorystream.h" #include "core/fxcrt/fx_codepage.h" +#include "core/fxcrt/xml/cfx_xmldocument.h" +#include "core/fxcrt/xml/cfx_xmlnode.h" #include "fxjs/cfxjse_engine.h" #include "fxjs/cfxjse_value.h" #include "fxjs/js_resources.h" diff --git a/fxjs/xfa/cjx_object.cpp b/fxjs/xfa/cjx_object.cpp index afbcee9b01..c1c7cbc710 100644 --- a/fxjs/xfa/cjx_object.cpp +++ b/fxjs/xfa/cjx_object.cpp @@ -10,6 +10,7 @@ #include "core/fxcrt/cfx_decimal.h" #include "core/fxcrt/fx_extension.h" +#include "core/fxcrt/xml/cfx_xmlelement.h" #include "core/fxcrt/xml/cfx_xmltext.h" #include "fxjs/cfxjse_engine.h" #include "fxjs/cfxjse_value.h" diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h index a88900e73e..4edf1bd73b 100644 --- a/fxjs/xfa/cjx_object.h +++ b/fxjs/xfa/cjx_object.h @@ -14,13 +14,13 @@ #include "core/fxcrt/unowned_ptr.h" #include "core/fxcrt/widestring.h" -#include "core/fxcrt/xml/cfx_xmlelement.h" #include "fxjs/jse_define.h" #include "third_party/base/optional.h" #include "third_party/base/span.h" #include "xfa/fxfa/fxfa_basic.h" #include "xfa/fxfa/parser/cxfa_measurement.h" +class CFX_XMLElement; class CFXJSE_Value; class CFX_V8; class CJX_Object; -- cgit v1.2.3