Index: xfa/fxjse/value.h |
diff --git a/xfa/fxjse/value.h b/xfa/fxjse/value.h |
index e728b8d85732ce7740136c0eaff243d75ae02189..2939ac34f7cd362797132d4743d0db9418cd22c2 100644 |
--- a/xfa/fxjse/value.h |
+++ b/xfa/fxjse/value.h |
@@ -180,7 +180,7 @@ class CFXJSE_Value { |
V8_INLINE void SetString(const CFX_ByteStringC& szString) { |
CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); |
v8::Local<v8::Value> hValue = v8::String::NewFromUtf8( |
- m_pIsolate, reinterpret_cast<const char*>(szString.GetPtr()), |
+ m_pIsolate, reinterpret_cast<const char*>(szString.raw_str()), |
v8::String::kNormalString, szString.GetLength()); |
m_hValue.Reset(m_pIsolate, hValue); |
} |