summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/global.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/global.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/global.h')
-rw-r--r--fpdfsdk/javascript/global.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/global.h b/fpdfsdk/javascript/global.h
index 165cf3a443..6a104be60f 100644
--- a/fpdfsdk/javascript/global.h
+++ b/fpdfsdk/javascript/global.h
@@ -47,7 +47,7 @@ class JSGlobalAlternate : public CJS_EmbedObj {
FX_BOOL DelProperty(IJS_Context* cc,
const FX_WCHAR* propname,
CFX_WideString& sError);
- void Initial(CPDFSDK_Environment* pApp);
+ void Initial(CPDFSDK_Environment* pEnv);
private:
void UpdateGlobalPersistentVariables();
@@ -68,7 +68,7 @@ class JSGlobalAlternate : public CJS_EmbedObj {
std::map<CFX_ByteString, JSGlobalData*> m_mapGlobal;
CFX_WideString m_sFilePath;
CJS_GlobalData* m_pGlobalData;
- CPDFSDK_Environment* m_pApp;
+ CPDFSDK_Environment* m_pEnv;
};
class CJS_Global : public CJS_Object {