Document implications of NULL p_JSPlatform in public header.
Bug: pdfium:450
Change-Id: I3089a913eb42936b823d2a9a1fe40c713b6206c7
Reviewed-on: https://pdfium-review.googlesource.com/c/50872
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index cd3645c..fe04707 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -732,8 +732,10 @@
int sizeofArray);
/**
- * pointer to IPDF_JSPLATFORM interface
- **/
+ * Pointer to IPDF_JSPLATFORM interface.
+ * Unused if PDFium is built without V8 support. Otherwise, if NULL, then
+ * JavaScript will be prevented from executing while rendering the document.
+ **/
IPDF_JSPLATFORM* m_pJsPlatform;
#ifdef PDF_ENABLE_XFA