summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtime.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-02 17:24:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-02 17:24:58 +0000
commit9cbd2dd8ff0812aae57a99d6a7dc285cc8b9e262 (patch)
tree1154231be2ecfddc3635f6e0e3f837e0dd70376d /fxjs/cjs_runtime.h
parent48b47f48ae6c5e3206bc306f2215a82273d5a313 (diff)
downloadpdfium-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/cjs_runtime.h')
-rw-r--r--fxjs/cjs_runtime.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cjs_runtime.h b/fxjs/cjs_runtime.h
index 5d55b9a492..9d0d47fa81 100644
--- a/fxjs/cjs_runtime.h
+++ b/fxjs/cjs_runtime.h
@@ -53,10 +53,10 @@ class CJS_Runtime : public IJS_Runtime,
v8::Local<v8::Value> MaybeCoerceToNumber(v8::Local<v8::Value> value);
#ifdef PDF_ENABLE_XFA
- bool GetValueByName(const ByteStringView& utf8Name,
- CFXJSE_Value* pValue) override;
- bool SetValueByName(const ByteStringView& utf8Name,
- CFXJSE_Value* pValue) override;
+ bool GetValueByNameFromGlobalObject(const ByteStringView& utf8Name,
+ CFXJSE_Value* pValue) override;
+ bool SetValueByNameInGlobalObject(const ByteStringView& utf8Name,
+ CFXJSE_Value* pValue) override;
#endif // PDF_ENABLE_XFA
private: