| Index: xfa/fxjse/class.cpp
|
| diff --git a/xfa/fxjse/class.cpp b/xfa/fxjse/class.cpp
|
| index c93e0bc581f60265e5b9a5d5085bb736e8cb2fc1..29a8077bd0884ff0b43fd5eb600a80671c3e70a8 100644
|
| --- a/xfa/fxjse/class.cpp
|
| +++ b/xfa/fxjse/class.cpp
|
| @@ -241,8 +241,8 @@ static void FXJSE_Context_GlobalObjToString(
|
| CFX_ByteString szStringVal;
|
| szStringVal.Format("[object %s]", lpClass->name);
|
| info.GetReturnValue().Set(v8::String::NewFromUtf8(
|
| - info.GetIsolate(), (const FX_CHAR*)szStringVal,
|
| - v8::String::kNormalString, szStringVal.GetLength()));
|
| + info.GetIsolate(), szStringVal.c_str(), v8::String::kNormalString,
|
| + szStringVal.GetLength()));
|
| } else {
|
| v8::Local<v8::String> local_str =
|
| info.This()
|
|
|