Only call DefineJSObjects() once for the global V8 isolate.
authorLei Zhang <thestig@chromium.org>
Mon, 5 Oct 2015 03:40:15 +0000 (20:40 -0700)
committerLei Zhang <thestig@chromium.org>
Mon, 5 Oct 2015 03:40:15 +0000 (20:40 -0700)
commit7dfe5929282cb6d78d7b5e32e1d72e9db99d3066
tree0cfd7321bafd3bf377435f1c29f69fe254f09965
parent794c9b67d3d519342aa7e15052766f7d4a99f551
Only call DefineJSObjects() once for the global V8 isolate.

BUG=539106
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1386823002 .
fpdfsdk/include/jsapi/fxjs_v8.h
fpdfsdk/src/javascript/JS_Runtime.cpp
fpdfsdk/src/jsapi/fxjs_v8.cpp