diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-02-02 17:24:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-02 17:24:58 +0000 |
commit | 9cbd2dd8ff0812aae57a99d6a7dc285cc8b9e262 (patch) | |
tree | 1154231be2ecfddc3635f6e0e3f837e0dd70376d /fxjs/cfxjse_engine.cpp | |
parent | 48b47f48ae6c5e3206bc306f2215a82273d5a313 (diff) | |
download | pdfium-9cbd2dd8ff0812aae57a99d6a7dc285cc8b9e262.tar.xz |
Make global object function names clearer.
Also tidy some sub-expressions.
Change-Id: Ieabd5f6cea60e8ec03c8ce5ebe372fc80b05a7bb
Reviewed-on: https://pdfium-review.googlesource.com/25150
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_engine.cpp')
-rw-r--r-- | fxjs/cfxjse_engine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cfxjse_engine.cpp b/fxjs/cfxjse_engine.cpp index 198e1d5fa8..84981666df 100644 --- a/fxjs/cfxjse_engine.cpp +++ b/fxjs/cfxjse_engine.cpp @@ -202,8 +202,8 @@ void CFXJSE_Engine::GlobalPropertySetter(CFXJSE_Value* pObject, if (!pNotify) return; - pNotify->GetDocEnvironment()->SetGlobalProperty(pNotify->GetHDOC(), - szPropName, pValue); + pNotify->GetDocEnvironment()->SetPropertyInNonXFAGlobalObject( + pNotify->GetHDOC(), szPropName, pValue); } void CFXJSE_Engine::GlobalPropertyGetter(CFXJSE_Value* pObject, @@ -259,8 +259,8 @@ void CFXJSE_Engine::GlobalPropertyGetter(CFXJSE_Value* pObject, if (!pNotify) return; - pNotify->GetDocEnvironment()->GetGlobalProperty(pNotify->GetHDOC(), - szPropName, pValue); + pNotify->GetDocEnvironment()->GetPropertyFromNonXFAGlobalObject( + pNotify->GetHDOC(), szPropName, pValue); } int32_t CFXJSE_Engine::GlobalPropTypeGetter(CFXJSE_Value* pOriginalValue, |