From f27aeec59186e7d11a3a2167572617fd5ed42941 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 7 Jun 2016 19:36:18 -0700 Subject: 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 --- fpdfsdk/javascript/cjs_runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/javascript') 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); -- cgit v1.2.3