summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/cjs_runtime.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-22 11:06:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-22 11:06:02 -0700
commit8e0638b1531493e2d5fe3a603f4be60418c78bc4 (patch)
tree76792886acce1d8251261eb35489698808f3c761 /fpdfsdk/javascript/cjs_runtime.h
parenta4ad5957af799374d4710f3847b85f57bea13f47 (diff)
downloadpdfium-8e0638b1531493e2d5fe3a603f4be60418c78bc4.tar.xz
Rename App to Env where needed.
More instances of CPDFSDK_Environment being called m_pApp in the code. Renamed to m_pEnv to be clear that it's the environment not an app object. Review-Url: https://codereview.chromium.org/2354413002
Diffstat (limited to 'fpdfsdk/javascript/cjs_runtime.h')
-rw-r--r--fpdfsdk/javascript/cjs_runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/cjs_runtime.h b/fpdfsdk/javascript/cjs_runtime.h
index 12f902d7df..da7e384321 100644
--- a/fpdfsdk/javascript/cjs_runtime.h
+++ b/fpdfsdk/javascript/cjs_runtime.h
@@ -42,7 +42,7 @@ class CJS_Runtime : public IJS_Runtime,
int ExecuteScript(const CFX_WideString& script,
CFX_WideString* info) override;
- CPDFSDK_Environment* GetReaderApp() const { return m_pApp; }
+ CPDFSDK_Environment* 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_pApp;
+ CPDFSDK_Environment* const m_pEnv;
CPDFSDK_Document* m_pDocument;
bool m_bBlocking;
bool m_isolateManaged;