summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_treelist.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-12 20:39:08 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 20:39:08 +0000
commite421d384ca88046c989991581d9abb044cddd009 (patch)
treeb880c079a0f2dd44b0df7595829229a67fff8c61 /xfa/fxfa/parser/cxfa_treelist.cpp
parent305bf6b818d4c3de8fe066dd736424f2e75b55b3 (diff)
downloadpdfium-e421d384ca88046c989991581d9abb044cddd009.tar.xz
Do IWYU in xfa.
Change-Id: Ia104471caffe79f92d439920baeea37a71c71c50 Reviewed-on: https://pdfium-review.googlesource.com/c/43971 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_treelist.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_treelist.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_treelist.cpp b/xfa/fxfa/parser/cxfa_treelist.cpp
index 38181f25e5..1c1ab2df39 100644
--- a/xfa/fxfa/parser/cxfa_treelist.cpp
+++ b/xfa/fxfa/parser/cxfa_treelist.cpp
@@ -9,12 +9,8 @@
#include <memory>
#include "core/fxcrt/fx_extension.h"
-#include "fxjs/cfxjse_engine.h"
#include "fxjs/xfa/cjx_treelist.h"
-#include "third_party/base/numerics/safe_conversions.h"
#include "third_party/base/ptr_util.h"
-#include "xfa/fxfa/parser/cxfa_document.h"
-#include "xfa/fxfa/parser/cxfa_list.h"
#include "xfa/fxfa/parser/cxfa_node.h"
CXFA_TreeList::CXFA_TreeList(CXFA_Document* pDocument)
@@ -24,7 +20,7 @@ CXFA_TreeList::CXFA_TreeList(CXFA_Document* pDocument)
WideStringView(L"treeList"),
pdfium::MakeUnique<CJX_TreeList>(this)) {}
-CXFA_TreeList::~CXFA_TreeList() {}
+CXFA_TreeList::~CXFA_TreeList() = default;
CXFA_Node* CXFA_TreeList::NamedItem(const WideStringView& wsName) {
uint32_t dwHashCode = FX_HashCode_GetW(wsName, false);