Index: fpdfsdk/javascript/JS_Value.cpp |
diff --git a/fpdfsdk/javascript/JS_Value.cpp b/fpdfsdk/javascript/JS_Value.cpp |
index 8f448a9d9e8c4b0a6a05bea9393c8cdc9bec1804..b7198353da67a57be581d00dc070e21348e86b5e 100644 |
--- a/fpdfsdk/javascript/JS_Value.cpp |
+++ b/fpdfsdk/javascript/JS_Value.cpp |
@@ -771,7 +771,7 @@ std::vector<CJS_Value> JS_ExpandKeywordParams( |
for (size_t i = 0; i < nKeywords; ++i) { |
const wchar_t* property = va_arg(ap, const wchar_t*); |
v8::Local<v8::Value> v8Value = |
- FXJS_GetObjectElement(pRuntime->GetIsolate(), pObj, property); |
+ FXJS_GetObjectProperty(pRuntime->GetIsolate(), pObj, property); |
if (!v8Value->IsUndefined()) |
result[i] = CJS_Value(pRuntime, v8Value); |
} |