summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-08-14 21:39:51 -0700
committerLei Zhang <thestig@chromium.org>2015-08-14 21:39:51 -0700
commit632b807b386878afdb42322f0037f8998306f4a9 (patch)
treeb9ff525f52a3344d77ef7154a0b698286875b029 /fpdfsdk/include/javascript
parent24fbf134d43a7ec4226de3db601f0a617bbe428b (diff)
downloadpdfium-632b807b386878afdb42322f0037f8998306f4a9.tar.xz
Clean: Fix some unneeded semi-colons and bad spacing.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1284193005 .
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 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();