diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-12 12:05:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-12 12:05:44 -0700 |
commit | 8779fa8578cf3336ddd4473f833900aba2e595fb (patch) | |
tree | df330933cab06ed2c6a6b5b825680fd2b4731d57 /fpdfsdk/javascript/global.cpp | |
parent | 7cbe68e34257b460bfa3baf0ea68fd6d50e1bc77 (diff) | |
download | pdfium-8779fa8578cf3336ddd4473f833900aba2e595fb.tar.xz |
Cleanup env variable names
This CL cleans up any old m_pEnv variables to
be correctly named m_pFormFillEnv.
Review-Url: https://codereview.chromium.org/2412523002
Diffstat (limited to 'fpdfsdk/javascript/global.cpp')
-rw-r--r-- | fpdfsdk/javascript/global.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/javascript/global.cpp b/fpdfsdk/javascript/global.cpp index 3ac8c40384..eb7d2cac19 100644 --- a/fpdfsdk/javascript/global.cpp +++ b/fpdfsdk/javascript/global.cpp @@ -49,16 +49,16 @@ JSGlobalData::~JSGlobalData() { } JSGlobalAlternate::JSGlobalAlternate(CJS_Object* pJSObject) - : CJS_EmbedObj(pJSObject), m_pEnv(nullptr) {} + : CJS_EmbedObj(pJSObject), m_pFormFillEnv(nullptr) {} JSGlobalAlternate::~JSGlobalAlternate() { DestroyGlobalPersisitentVariables(); m_pGlobalData->Release(); } -void JSGlobalAlternate::Initial(CPDFSDK_FormFillEnvironment* pEnv) { - m_pEnv = pEnv; - m_pGlobalData = CJS_GlobalData::GetRetainedInstance(pEnv); +void JSGlobalAlternate::Initial(CPDFSDK_FormFillEnvironment* pFormFillEnv) { + m_pFormFillEnv = pFormFillEnv; + m_pGlobalData = CJS_GlobalData::GetRetainedInstance(pFormFillEnv); UpdateGlobalPersistentVariables(); } |