summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtimestub.cpp
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_runtimestub.cpp
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_runtimestub.cpp')
-rw-r--r--fxjs/cjs_runtimestub.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/fxjs/cjs_runtimestub.cpp b/fxjs/cjs_runtimestub.cpp
index 964b0ff9d6..105bb6f114 100644
--- a/fxjs/cjs_runtimestub.cpp
+++ b/fxjs/cjs_runtimestub.cpp
@@ -30,11 +30,13 @@ class CJS_RuntimeStub final : public IJS_Runtime {
}
#ifdef PDF_ENABLE_XFA
- bool GetValueByName(const ByteStringView&, CFXJSE_Value*) override {
+ bool GetValueByNameFromGlobalObject(const ByteStringView&,
+ CFXJSE_Value*) override {
return false;
}
- bool SetValueByName(const ByteStringView&, CFXJSE_Value*) override {
+ bool SetValueByNameInGlobalObject(const ByteStringView&,
+ CFXJSE_Value*) override {
return false;
}
#endif // PDF_ENABLE_XFA