aboutsummaryrefslogtreecommitdiff
path: root/fxjs/xfa/fxjse.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/fxjse.h')
-rw-r--r--fxjs/xfa/fxjse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/xfa/fxjse.h b/fxjs/xfa/fxjse.h
index b020ce685..04d746b53 100644
--- a/fxjs/xfa/fxjse.h
+++ b/fxjs/xfa/fxjse.h
@@ -10,6 +10,7 @@
#include <stdint.h>
#include "core/fxcrt/fx_string.h"
+#include "core/fxcrt/unowned_ptr_exclusion.h"
#include "v8/include/v8-forward.h"
namespace pdfium {
@@ -78,7 +79,7 @@ struct FXJSE_FUNCTION_DESCRIPTOR {
struct FXJSE_CLASS_DESCRIPTOR {
const char* tag; // `pdfium::fxjse::kClassTag` always.
const char* name;
- const FXJSE_FUNCTION_DESCRIPTOR* methods;
+ UNOWNED_PTR_EXCLUSION const FXJSE_FUNCTION_DESCRIPTOR* methods;
int32_t methNum;
FXJSE_PropTypeGetter dynPropTypeGetter;
FXJSE_PropGetter dynPropGetter;