summaryrefslogtreecommitdiff
path: root/fxjs/cjs_document.h
diff options
context:
space:
mode:
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;