diff options
Diffstat (limited to 'fpdfsdk/include/javascript')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Context.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/javascript/JS_EventHandler.h | 2 | ||||
-rw-r--r-- | fpdfsdk/include/javascript/JS_Runtime.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/include/javascript/JS_Context.h b/fpdfsdk/include/javascript/JS_Context.h index a716bc2ccb..995d32219e 100644 --- a/fpdfsdk/include/javascript/JS_Context.h +++ b/fpdfsdk/include/javascript/JS_Context.h @@ -128,7 +128,7 @@ class CJS_Context : public IFXJS_Context { FX_BOOL DoJob(int nMode, const CFX_WideString& script, CFX_WideString& info); - CJS_EventHandler* GetEventHandler() { return m_pEventHandler; }; + CJS_EventHandler* GetEventHandler() { return m_pEventHandler; } CPDFSDK_Document* GetReaderDocument(); private: diff --git a/fpdfsdk/include/javascript/JS_EventHandler.h b/fpdfsdk/include/javascript/JS_EventHandler.h index 5e4982c1df..e03904897d 100644 --- a/fpdfsdk/include/javascript/JS_EventHandler.h +++ b/fpdfsdk/include/javascript/JS_EventHandler.h @@ -185,7 +185,7 @@ class CJS_EventHandler { FX_BOOL WillCommit(); CFX_WideString TargetName(); - JS_EVENT_T EventType() { return m_eEventType; }; + JS_EVENT_T EventType() { return m_eEventType; } public: CJS_Context* m_pJSContext; diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h index 1d40a64509..5a811fca1f 100644 --- a/fpdfsdk/include/javascript/JS_Runtime.h +++ b/fpdfsdk/include/javascript/JS_Runtime.h @@ -55,7 +55,7 @@ class CJS_Runtime : public IFXJS_Runtime { FX_BOOL IsBlocking() { return m_bBlocking; } operator IJS_Runtime*() { return (IJS_Runtime*)m_isolate; } - v8::Isolate* GetIsolate() { return m_isolate; }; + v8::Isolate* GetIsolate() { return m_isolate; } void SetIsolate(v8::Isolate* isolate) { m_isolate = isolate; } v8::Local<v8::Context> NewJSContext(); |