summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/jsapi/fxjs_v8.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-31 16:54:42 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-31 16:54:42 -0700
commit6e945a1ebbacde3ed2a4fc83ccb7215ccbc46931 (patch)
treef2cf6a48b3620104e54296d75b77722c1411c8e2 /fpdfsdk/include/jsapi/fxjs_v8.h
parent6e369c2ebb4769a42736b32154c0de12b73df45d (diff)
downloadpdfium-6e945a1ebbacde3ed2a4fc83ccb7215ccbc46931.tar.xz
CJS_Context::compile unused
This, in turn, allows us to get rid of the DoJob method and its clumsy mode parameter conditional. Add explicit and consts, and remove pointless asserts along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1318543012 .
Diffstat (limited to 'fpdfsdk/include/jsapi/fxjs_v8.h')
-rw-r--r--fpdfsdk/include/jsapi/fxjs_v8.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h
index 72f2a5de01..f9d8f50248 100644
--- a/fpdfsdk/include/jsapi/fxjs_v8.h
+++ b/fpdfsdk/include/jsapi/fxjs_v8.h
@@ -91,11 +91,6 @@ void JS_ReleaseRuntime(IJS_Runtime* pJSRuntime,
v8::Global<v8::Context>& v8PersistentContext);
void JS_Initial(unsigned int embedderDataSlot);
void JS_Release();
-int JS_Parse(IJS_Runtime* pJSRuntime,
- IFXJS_Context* pJSContext,
- const wchar_t* script,
- long length,
- FXJSErr* perror);
int JS_Execute(IJS_Runtime* pJSRuntime,
IFXJS_Context* pJSContext,
const wchar_t* script,