DescriptionDo not try to v8::Object::Clone() any objects
v8::Object::Clone() is deprecated, and gets us into trouble with
some corner cases. Create a new handle to the same object instead.
Remove FXJS_NewObject() and FXJS_NewObject2(), and replace with
direct assignments. Pass isolate to FXJS_NewNull() while were
at it, even though not needed, for consistency with all remaining
FXJS_New*() calls.
BUG=628106
R=jochen@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/88b6686f6e56a01dab0172f4b3129ab7ae0cd8d8
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|