summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/include/javascript')
-rw-r--r--fpdfsdk/include/javascript/JS_Context.h2
-rw-r--r--fpdfsdk/include/javascript/JS_EventHandler.h2
-rw-r--r--fpdfsdk/include/javascript/JS_Runtime.h2
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 2e397ea1ef..d512484230 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();