diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-07 19:36:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-07 19:36:19 -0700 |
commit | f27aeec59186e7d11a3a2167572617fd5ed42941 (patch) | |
tree | af0204ecf2b5e42d9341d7e7b245e0aa8c7b85d6 /fpdfsdk/javascript | |
parent | a7c03c678dbd6fd4732e0cfb390cc4f462434441 (diff) | |
download | pdfium-f27aeec59186e7d11a3a2167572617fd5ed42941.tar.xz |
Remove various FXJSE Value methods.
This CL removes the FXJSE_Value_Set*, FXJSE_Value_To*, FXJSE_Value_Get* and
FXJSE_Value_Delete* methods.
Review-Url: https://codereview.chromium.org/2043153002
Diffstat (limited to 'fpdfsdk/javascript')
-rw-r--r-- | fpdfsdk/javascript/cjs_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/cjs_runtime.cpp b/fpdfsdk/javascript/cjs_runtime.cpp index 69d61dc940..503392fe63 100644 --- a/fpdfsdk/javascript/cjs_runtime.cpp +++ b/fpdfsdk/javascript/cjs_runtime.cpp @@ -277,7 +277,7 @@ FX_BOOL CJS_Runtime::GetValueByName(const CFX_ByteStringC& utf8Name, GetIsolate(), name, v8::String::kNormalString, utf8Name.GetLength())); if (propvalue.IsEmpty()) { - FXJSE_Value_SetUndefined(pValue); + pValue->SetUndefined(); return FALSE; } pValue->ForceSetValue(propvalue); |