From 8deeacd23872ecc132a0a678e344a018b5114a3a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 9 Nov 2015 22:41:21 -0800 Subject: Remove CFX_PtrArray usage in fpdfsdk. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1430213002 . --- fpdfsdk/include/jsapi/fxjs_v8.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/include/jsapi/fxjs_v8.h') diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h index 140fcacd11..c5a864026b 100644 --- a/fpdfsdk/include/jsapi/fxjs_v8.h +++ b/fpdfsdk/include/jsapi/fxjs_v8.h @@ -16,7 +16,11 @@ #include -#include "core/include/fxcrt/fx_basic.h" +#include + +#include "core/include/fxcrt/fx_string.h" + +class CFXJS_ObjDefinition; // FXJS_V8 places no restrictions on these two classes; it merely passes them // on to caller-provided methods. @@ -40,7 +44,7 @@ class FXJS_PerIsolateData { static void SetUp(v8::Isolate* pIsolate); static FXJS_PerIsolateData* Get(v8::Isolate* pIsolate); - CFX_PtrArray m_ObjectDefnArray; + std::vector m_ObjectDefnArray; protected: FXJS_PerIsolateData() {} -- cgit v1.2.3