CJS_Context::compile unused
authorTom Sepez <tsepez@chromium.org>
Mon, 31 Aug 2015 23:54:42 +0000 (16:54 -0700)
committerTom Sepez <tsepez@chromium.org>
Mon, 31 Aug 2015 23:54:42 +0000 (16:54 -0700)
commit6e945a1ebbacde3ed2a4fc83ccb7215ccbc46931
treef2cf6a48b3620104e54296d75b77722c1411c8e2
parent6e369c2ebb4769a42736b32154c0de12b73df45d
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 .
fpdfsdk/include/javascript/IJavaScript.h
fpdfsdk/include/javascript/JS_Context.h
fpdfsdk/include/jsapi/fxjs_v8.h
fpdfsdk/src/javascript/JS_Context.cpp
fpdfsdk/src/jsapi/fxjs_v8.cpp