summaryrefslogtreecommitdiff
path: root/fxjs/cjs_document.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-01-29 20:17:36 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-29 20:17:36 +0000
commit75acda66db9db257ec92172ea1a30b6616117b8d (patch)
treeecca3080466c94ce802b38ba446613a3f07516c3 /fxjs/cjs_document.h
parent5e332f1275dd6f4b6d487d313f4db8497df339ab (diff)
downloadpdfium-75acda66db9db257ec92172ea1a30b6616117b8d.tar.xz
Kill some bare |new|s in cjs_field.cpp
Change-Id: Id4d9f21d94d8b21199846ec5f7613590fd20579e Reviewed-on: https://pdfium-review.googlesource.com/24310 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_document.h')
-rw-r--r--fxjs/cjs_document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_document.h b/fxjs/cjs_document.h
index edfaf96200..896522c684 100644
--- a/fxjs/cjs_document.h
+++ b/fxjs/cjs_document.h
@@ -211,7 +211,7 @@ class Document : public CJS_EmbedObj {
CPDFSDK_FormFillEnvironment* GetFormFillEnv() const {
return m_pFormFillEnv.Get();
}
- void AddDelayData(CJS_DelayData* pData);
+ void AddDelayData(std::unique_ptr<CJS_DelayData> pData);
void DoFieldDelay(const WideString& sFieldName, int nControlIndex);
CJS_Document* GetCJSDoc() const;