summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Document.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-15 12:34:17 -0700
committerTom Sepez <tsepez@chromium.org>2016-03-15 12:34:17 -0700
commit56c1019e694ba9c2d6624d3c11d99c22798ffdc8 (patch)
tree6a62c930136d04784cb81ec0f321a6ede70d9c57 /fpdfsdk/javascript/Document.h
parentaa403d3f68a966e24a6d8e8c109970930f096afb (diff)
downloadpdfium-56c1019e694ba9c2d6624d3c11d99c22798ffdc8.tar.xz
Remove CFX_DWordArray from Document.h
Using a list is more appropriate, since we wish to delete from the middle. R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1780093003 .
Diffstat (limited to 'fpdfsdk/javascript/Document.h')
-rw-r--r--fpdfsdk/javascript/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/Document.h b/fpdfsdk/javascript/Document.h
index 8ae6c1d21d..03e885ce8e 100644
--- a/fpdfsdk/javascript/Document.h
+++ b/fpdfsdk/javascript/Document.h
@@ -275,7 +275,7 @@ class Document : public CJS_EmbedObj {
CPDFSDK_Document* m_pDocument;
CFX_WideString m_cwBaseURL;
bool m_bDelay;
- CFX_ArrayTemplate<CJS_DelayData*> m_DelayData;
+ std::list<std::unique_ptr<CJS_DelayData>> m_DelayData;
};
class CJS_Document : public CJS_Object {