From b4694249b336d1c0bea9222880b49dcf9284791d Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 15 Aug 2016 16:44:55 -0700 Subject: Push v8::Isolate into CFXJS_Engine class Nearly all the "loose" functions in FXJS become methods on the CFJXS_Engine. This is the "missing link" wrt some layering violatons that have been around forever. We can stop passing &m_ variables from CJS_ down into FXJS Initialization as a result. Review-Url: https://codereview.chromium.org/2245863002 --- fpdfsdk/javascript/Field.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'fpdfsdk/javascript/Field.h') diff --git a/fpdfsdk/javascript/Field.h b/fpdfsdk/javascript/Field.h index 3d1b0ff876..0ffdbd4ba4 100644 --- a/fpdfsdk/javascript/Field.h +++ b/fpdfsdk/javascript/Field.h @@ -435,7 +435,6 @@ class Field : public CJS_EmbedObj { FX_BOOL AttachField(Document* pDocument, const CFX_WideString& csFieldName); void SetDelay(FX_BOOL bDelay); - void SetIsolate(v8::Isolate* isolate) { m_isolate = isolate; } protected: void ParseFieldName(const std::wstring& strFieldNameParsed, @@ -464,9 +463,7 @@ class Field : public CJS_EmbedObj { CFX_WideString m_FieldName; int m_nFormControlIndex; FX_BOOL m_bCanSet; - FX_BOOL m_bDelay; - v8::Isolate* m_isolate; }; class CJS_Field : public CJS_Object { -- cgit v1.2.3