summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-09 21:31:28 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-09 21:31:28 +0000
commit99f5bbb53316543f4f20ea937b5abc98efe91bf9 (patch)
tree96821bdefa2b522b83914f205a937d1af350468a /fxjs
parenta021def0a4a500ee8373d37f7122097927387873 (diff)
downloadpdfium-99f5bbb53316543f4f20ea937b5abc98efe91bf9.tar.xz
Do IWYU for ptr_util.h.
Change-Id: Ib96a66eb47bea791f061e1d6da8aadad8037a99d Reviewed-on: https://pdfium-review.googlesource.com/c/43609 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cfxjs_engine.cpp1
-rw-r--r--fxjs/cjs_app.cpp1
-rw-r--r--fxjs/cjs_field.cpp1
-rw-r--r--fxjs/cjs_global.cpp1
-rw-r--r--fxjs/cjs_runtime.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/fxjs/cfxjs_engine.cpp b/fxjs/cfxjs_engine.cpp
index a4a85df0a2..e127bbed7a 100644
--- a/fxjs/cfxjs_engine.cpp
+++ b/fxjs/cfxjs_engine.cpp
@@ -13,6 +13,7 @@
#include "core/fxcrt/unowned_ptr.h"
#include "fxjs/cfxjse_runtimedata.h"
#include "fxjs/cjs_object.h"
+#include "third_party/base/ptr_util.h"
class CFXJS_PerObjectData;
diff --git a/fxjs/cjs_app.cpp b/fxjs/cjs_app.cpp
index 08d4e4e1c8..7c9cb229a7 100644
--- a/fxjs/cjs_app.cpp
+++ b/fxjs/cjs_app.cpp
@@ -14,6 +14,7 @@
#include "fxjs/global_timer.h"
#include "fxjs/ijs_event_context.h"
#include "fxjs/js_resources.h"
+#include "third_party/base/ptr_util.h"
#ifdef PDF_ENABLE_XFA
#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h"
diff --git a/fxjs/cjs_field.cpp b/fxjs/cjs_field.cpp
index 45baf613b0..2777fd8cf9 100644
--- a/fxjs/cjs_field.cpp
+++ b/fxjs/cjs_field.cpp
@@ -21,6 +21,7 @@
#include "fxjs/cjs_document.h"
#include "fxjs/cjs_icon.h"
#include "fxjs/js_resources.h"
+#include "third_party/base/ptr_util.h"
namespace {
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp
index ecf06f10cb..a683ed8bfc 100644
--- a/fxjs/cjs_global.cpp
+++ b/fxjs/cjs_global.cpp
@@ -19,6 +19,7 @@
#include "fxjs/cjs_object.h"
#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
+#include "third_party/base/ptr_util.h"
namespace {
diff --git a/fxjs/cjs_runtime.cpp b/fxjs/cjs_runtime.cpp
index e7de7abd8f..2f4fe01474 100644
--- a/fxjs/cjs_runtime.cpp
+++ b/fxjs/cjs_runtime.cpp
@@ -40,6 +40,7 @@
#include "fxjs/cjs_zoomtype.h"
#include "fxjs/js_define.h"
#include "public/fpdf_formfill.h"
+#include "third_party/base/ptr_util.h"
#include "third_party/base/stl_util.h"
#ifdef PDF_ENABLE_XFA