From 99f5bbb53316543f4f20ea937b5abc98efe91bf9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 9 Oct 2018 21:31:28 +0000 Subject: Do IWYU for ptr_util.h. Change-Id: Ib96a66eb47bea791f061e1d6da8aadad8037a99d Reviewed-on: https://pdfium-review.googlesource.com/c/43609 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- fxjs/cfxjs_engine.cpp | 1 + fxjs/cjs_app.cpp | 1 + fxjs/cjs_field.cpp | 1 + fxjs/cjs_global.cpp | 1 + fxjs/cjs_runtime.cpp | 1 + 5 files changed, 5 insertions(+) (limited to 'fxjs') 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 -- cgit v1.2.3