diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:47:39 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:47:39 +0200 |
commit | acf0647bd20b5fbb95be955e60a355884d837631 (patch) | |
tree | 5b748a624e1c38c18ff2af484a7e8604434a0ed5 /fpdfsdk | |
parent | 8ccc2068013dffd6762cb7f27238b401b9f2ffaf (diff) | |
download | pdfium-acf0647bd20b5fbb95be955e60a355884d837631.tar.xz |
Add missing reinterpret_cast from void to v8::Isolate*
BUG=none
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1241863003 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp index 6ceb640e58..b26f5a2e62 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.cpp +++ b/fpdfsdk/src/javascript/JS_Runtime.cpp @@ -114,7 +114,7 @@ CJS_Runtime::CJS_Runtime(CPDFDoc_Environment * pApp) : m_isolate(NULL) { if (m_pApp->GetFormFillInfo()->m_pJsPlatform->version >= 2) { - m_isolate = m_pApp->GetFormFillInfo()->m_pJsPlatform->m_isolate; + m_isolate = reinterpret_cast<v8::Isolate*>(m_pApp->GetFormFillInfo()->m_pJsPlatform->m_isolate); } if (!m_isolate) { m_pArrayBufferAllocator.reset(new CJS_ArrayBufferAllocator()); |