summaryrefslogtreecommitdiff
path: root/public/fpdf_formfill.h
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2015-07-16 09:37:48 +0200
committerJochen Eisinger <jochen@chromium.org>2015-07-16 09:37:48 +0200
commitcc8b4d8763151f51c9fe71ce9b64b2a0d7ddcc88 (patch)
treefbb16c6ff6d7386dd4c532956d54232a9851a75a /public/fpdf_formfill.h
parent281d1d293dab54cadd214e5a1c098583fbbe0788 (diff)
downloadpdfium-cc8b4d8763151f51c9fe71ce9b64b2a0d7ddcc88.tar.xz
Make v8 embedder data slot configurablechromium/2460chromium/2459chromium/2458
Chrome already uses 0 and 1. BUG=none R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1235303003 .
Diffstat (limited to 'public/fpdf_formfill.h')
-rw-r--r--public/fpdf_formfill.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index 1cc5551e0b..22ebc619b5 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -231,6 +231,13 @@ typedef struct _IPDF_JsPlatform
* pointer to the v8::Isolate to use, or NULL to force PDFium to create one.
**/
void* m_isolate;
+
+ /**
+ * The embedder data slot to use in the v8::Isolate to store PDFium's
+ * per-isolate data. The value needs to be between 0 and
+ * v8::Internals::kNumIsolateDataLots (exclusive).
+ */
+ unsigned int m_v8EmbedderSlot;
} IPDF_JSPLATFORM;
// Flags for Cursor type