diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-05 15:47:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-05 15:47:02 -0700 |
commit | 735606d84b6898a51c61b17a2d286a13d964589a (patch) | |
tree | 1feb64d2aae6d79c1f7d65f5dd05d7e934b428cc /fpdfsdk/javascript/cjs_runtime.cpp | |
parent | 2116105b7d0545eb353264d4b42420cf51af5195 (diff) | |
download | pdfium-735606d84b6898a51c61b17a2d286a13d964589a.tar.xz |
Rename CPDFSDK_Environment to CPDFSDK_FormfillEnvironment
Rename CPDFSDK_Environment to make it explicit that this is part of the formfill
system.
Review-Url: https://codereview.chromium.org/2391313002
Diffstat (limited to 'fpdfsdk/javascript/cjs_runtime.cpp')
-rw-r--r-- | fpdfsdk/javascript/cjs_runtime.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp index b10e5a6ed9..af70dd17cc 100644 --- a/fpdfsdk/javascript/cjs_runtime.cpp +++ b/fpdfsdk/javascript/cjs_runtime.cpp @@ -8,7 +8,7 @@ #include <algorithm> -#include "fpdfsdk/cpdfsdk_environment.h" +#include "fpdfsdk/cpdfsdk_formfillenvironment.h" #include "fpdfsdk/javascript/Annot.h" #include "fpdfsdk/javascript/Consts.h" #include "fpdfsdk/javascript/Document.h" @@ -47,7 +47,7 @@ void IJS_Runtime::Destroy() { } // static -IJS_Runtime* IJS_Runtime::Create(CPDFSDK_Environment* pEnv) { +IJS_Runtime* IJS_Runtime::Create(CPDFSDK_FormFillEnvironment* pEnv) { return new CJS_Runtime(pEnv); } @@ -63,7 +63,7 @@ CJS_Runtime* CJS_Runtime::CurrentRuntimeFromIsolate(v8::Isolate* pIsolate) { CFXJS_Engine::CurrentEngineFromIsolate(pIsolate)); } -CJS_Runtime::CJS_Runtime(CPDFSDK_Environment* pEnv) +CJS_Runtime::CJS_Runtime(CPDFSDK_FormFillEnvironment* pEnv) : m_pEnv(pEnv), m_pDocument(nullptr), m_bBlocking(false), |