summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/jsapi/fxjs_v8.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-07 13:09:38 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-07 13:09:38 -0700
commit7fed2e7b5df7897abf365745ad688aab4bdfdf5a (patch)
treef9a30fcb6c2c0cf7ad4a79a0d25249f036600d16 /fpdfsdk/include/jsapi/fxjs_v8.h
parenta72e8e2c4392df725c7e35ed1ae3f891e79e49ec (diff)
downloadpdfium-7fed2e7b5df7897abf365745ad688aab4bdfdf5a.tar.xz
Merge to XFA: Remove unused global argument from FXJS_CONSTRUCTOR.
(cherry picked from commit ebd39a6a8fcbbbf1c5a2e6f1b2e30f452971d0ee) Original Review URL: https://codereview.chromium.org/1389003003 . TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1394023002 .
Diffstat (limited to 'fpdfsdk/include/jsapi/fxjs_v8.h')
-rw-r--r--fpdfsdk/include/jsapi/fxjs_v8.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h
index 6e8d2fa478..750d7a8fae 100644
--- a/fpdfsdk/include/jsapi/fxjs_v8.h
+++ b/fpdfsdk/include/jsapi/fxjs_v8.h
@@ -62,9 +62,7 @@ class FXJS_ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
void Free(void* data, size_t length) override;
};
-using FXJS_CONSTRUCTOR = void (*)(IFXJS_Context* cc,
- v8::Local<v8::Object> obj,
- v8::Local<v8::Object> global);
+using FXJS_CONSTRUCTOR = void (*)(IFXJS_Context* cc, v8::Local<v8::Object> obj);
using FXJS_DESTRUCTOR = void (*)(v8::Local<v8::Object> obj);
// Call before making FXJS_PrepareIsolate call.