Index: fpdfsdk/src/jsapi/fxjs_v8.cpp |
diff --git a/fpdfsdk/src/jsapi/fxjs_v8.cpp b/fpdfsdk/src/jsapi/fxjs_v8.cpp |
index 5631ab625859e95f5fd73ff7e0e2db14a26019eb..86f6ced198df2dffc6bebd10c6d5585176419858 100644 |
--- a/fpdfsdk/src/jsapi/fxjs_v8.cpp |
+++ b/fpdfsdk/src/jsapi/fxjs_v8.cpp |
@@ -6,6 +6,8 @@ |
#include "fpdfsdk/include/jsapi/fxjs_v8.h" |
+#include <vector> |
+ |
#include "core/include/fxcrt/fx_basic.h" |
const wchar_t kFXJSValueNameString[] = L"string"; |
@@ -745,9 +747,8 @@ v8::Local<v8::Value> FXJS_NewObject2(v8::Isolate* pIsolate, |
return pObj->Clone(); |
} |
-v8::Local<v8::Value> FXJS_NewString(v8::Isolate* pIsolate, |
- const wchar_t* string) { |
- return FXJS_WSToJSString(pIsolate, string); |
+v8::Local<v8::Value> FXJS_NewString(v8::Isolate* pIsolate, const wchar_t* str) { |
+ return FXJS_WSToJSString(pIsolate, str); |
} |
v8::Local<v8::Value> FXJS_NewNull() { |