Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: fpdfsdk/src/fsdk_baseform.cpp

Issue 1386173002: Rename IFXJS_Runtime and IFXJS_Context to IJS_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Comment in fxjs_v8.h Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/src/fsdk_actionhandler.cpp ('k') | fpdfsdk/src/fsdk_mgr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/fsdk_baseform.cpp
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
index eab9f91076f12c5eb19df39e2cf3aae5ff57f54f..ff71c2bceedd5abb8ccabb9752fb66ef5aece5a9 100644
--- a/fpdfsdk/src/fsdk_baseform.cpp
+++ b/fpdfsdk/src/fsdk_baseform.cpp
@@ -1757,7 +1757,7 @@ void CPDFSDK_InterForm::OnCalculate(CPDF_FormField* pFormField) {
m_bBusy = TRUE;
if (IsCalculateEnabled()) {
- IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime();
+ IJS_Runtime* pRuntime = m_pDocument->GetJsRuntime();
ASSERT(pRuntime != NULL);
pRuntime->SetReaderDocument(m_pDocument);
@@ -1775,7 +1775,7 @@ void CPDFSDK_InterForm::OnCalculate(CPDF_FormField* pFormField) {
if (action) {
CFX_WideString csJS = action.GetJavaScript();
if (!csJS.IsEmpty()) {
- IFXJS_Context* pContext = pRuntime->NewContext();
+ IJS_Context* pContext = pRuntime->NewContext();
ASSERT(pContext != NULL);
CFX_WideString sOldValue = pField->GetValue();
@@ -1817,7 +1817,7 @@ CFX_WideString CPDFSDK_InterForm::OnFormat(CPDF_FormField* pFormField,
return sValue;
}
- IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime();
+ IJS_Runtime* pRuntime = m_pDocument->GetJsRuntime();
ASSERT(pRuntime != NULL);
pRuntime->SetReaderDocument(m_pDocument);
@@ -1840,7 +1840,7 @@ CFX_WideString CPDFSDK_InterForm::OnFormat(CPDF_FormField* pFormField,
if (!script.IsEmpty()) {
CFX_WideString Value = sValue;
- IFXJS_Context* pContext = pRuntime->NewContext();
+ IJS_Context* pContext = pRuntime->NewContext();
ASSERT(pContext != NULL);
pContext->OnField_Format(pFormField, Value, TRUE);
« no previous file with comments | « fpdfsdk/src/fsdk_actionhandler.cpp ('k') | fpdfsdk/src/fsdk_mgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698