summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/jsapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-06 11:47:51 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-06 11:47:51 -0700
commitebd39a6a8fcbbbf1c5a2e6f1b2e30f452971d0ee (patch)
tree0b13d0c6449877abefe7a2974c9bad602a44b641 /fpdfsdk/include/jsapi
parentf0a5b2803c09f3605dcd606e764ef604f0d2a8ea (diff)
downloadpdfium-ebd39a6a8fcbbbf1c5a2e6f1b2e30f452971d0ee.tar.xz
Remove unused global argument from FXJS_CONSTRUCTOR.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1389003003 .
Diffstat (limited to 'fpdfsdk/include/jsapi')
-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 289a73e14a..f174b21f0a 100644
--- a/fpdfsdk/include/jsapi/fxjs_v8.h
+++ b/fpdfsdk/include/jsapi/fxjs_v8.h
@@ -57,9 +57,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.