diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-06 08:29:39 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-06 08:29:39 -0800 |
commit | 371379dcdc2e277b626650064394d989e35c917f (patch) | |
tree | 44240ba40fec7d7252a3e4c3401f47a8ebc2b6af /fpdfsdk/src/javascript/JS_Object.cpp | |
parent | 476ac131cfd55842383f65418658a5f1103785b4 (diff) | |
download | pdfium-371379dcdc2e277b626650064394d989e35c917f.tar.xz |
Merge to XFA: Remove FXJS_GetRuntime
Original Review URL: https://codereview.chromium.org/1413733004 .
(cherry picked from commit 93f191bb011508a8d4e66746135e8ba8e9583870)
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/1435493002 .
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Object.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/JS_Object.cpp b/fpdfsdk/src/javascript/JS_Object.cpp index 883ecc82ae..1e649ae791 100644 --- a/fpdfsdk/src/javascript/JS_Object.cpp +++ b/fpdfsdk/src/javascript/JS_Object.cpp @@ -61,7 +61,7 @@ void DisposeObject(const v8::WeakCallbackInfo<CJS_Object>& data) { } CJS_Object::CJS_Object(v8::Local<v8::Object> pObject) { - m_pIsolate = pObject->CreationContext()->GetIsolate(); + m_pIsolate = pObject->GetIsolate(); m_pV8Object.Reset(m_pIsolate, pObject); } |