| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #include "../../../public/fpdf_formfill.h" | 7 #include "../../../public/fpdf_formfill.h" |
| 8 #include "../../include/fsdk_define.h" | 8 #include "../../include/fsdk_define.h" |
| 9 #include "../../include/fpdfxfa/fpdfxfa_doc.h" | 9 #include "../../include/fpdfxfa/fpdfxfa_doc.h" |
| 10 #include "../../include/fsdk_mgr.h" | 10 #include "../../include/fsdk_mgr.h" |
| (...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 if (!m_pJSContext) { | 1331 if (!m_pJSContext) { |
| 1332 m_pSDKDoc->GetEnv()->GetJSRuntime()->SetReaderDocument(m_pSDKDoc); | 1332 m_pSDKDoc->GetEnv()->GetJSRuntime()->SetReaderDocument(m_pSDKDoc); |
| 1333 m_pJSContext = m_pSDKDoc->GetEnv()->GetJSRuntime()->NewContext(); | 1333 m_pJSContext = m_pSDKDoc->GetEnv()->GetJSRuntime()->NewContext(); |
| 1334 } | 1334 } |
| 1335 | 1335 |
| 1336 return _GetHValueByName(szPropName, hValue, | 1336 return _GetHValueByName(szPropName, hValue, |
| 1337 m_pSDKDoc->GetEnv()->GetJSRuntime()); | 1337 m_pSDKDoc->GetEnv()->GetJSRuntime()); |
| 1338 } | 1338 } |
| 1339 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, | 1339 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, |
| 1340 FXJSE_HVALUE hValue, | 1340 FXJSE_HVALUE hValue, |
| 1341 IFXJS_Runtime* runTime) { | 1341 IJS_Runtime* runTime) { |
| 1342 return runTime->GetHValueByName(utf8Name, hValue); | 1342 return runTime->GetHValueByName(utf8Name, hValue); |
| 1343 } | 1343 } |
| OLD | NEW |