summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_runtime.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-05 15:47:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-05 15:47:02 -0700
commit735606d84b6898a51c61b17a2d286a13d964589a (patch)
tree1feb64d2aae6d79c1f7d65f5dd05d7e934b428cc /fpdfsdk/javascript/cjs_runtime.h
parent2116105b7d0545eb353264d4b42420cf51af5195 (diff)
downloadpdfium-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.h')
-rw-r--r--fpdfsdk/javascript/cjs_runtime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/cjs_runtime.h b/fpdfsdk/javascript/cjs_runtime.h
index 3ad2e0fed5..2b075afa01 100644
--- a/fpdfsdk/javascript/cjs_runtime.h
+++ b/fpdfsdk/javascript/cjs_runtime.h
@@ -30,7 +30,7 @@ class CJS_Runtime : public IJS_Runtime,
static CJS_Runtime* FromContext(const IJS_Context* cc);
static CJS_Runtime* CurrentRuntimeFromIsolate(v8::Isolate* pIsolate);
- explicit CJS_Runtime(CPDFSDK_Environment* pApp);
+ explicit CJS_Runtime(CPDFSDK_FormFillEnvironment* pApp);
~CJS_Runtime() override;
// IJS_Runtime
@@ -42,7 +42,7 @@ class CJS_Runtime : public IJS_Runtime,
int ExecuteScript(const CFX_WideString& script,
CFX_WideString* info) override;
- CPDFSDK_Environment* GetReaderEnv() const { return m_pEnv; }
+ CPDFSDK_FormFillEnvironment* GetReaderEnv() const { return m_pEnv; }
// Returns true if the event isn't already found in the set.
bool AddEventToSet(const FieldEvent& event);
@@ -63,7 +63,7 @@ class CJS_Runtime : public IJS_Runtime,
void DefineJSObjects();
std::vector<std::unique_ptr<CJS_Context>> m_ContextArray;
- CPDFSDK_Environment* const m_pEnv;
+ CPDFSDK_FormFillEnvironment* const m_pEnv;
CPDFSDK_Document* m_pDocument;
bool m_bBlocking;
bool m_isolateManaged;