summaryrefslogtreecommitdiff
path: root/xfa/fxjse/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxjse/value.h')
-rw-r--r--xfa/fxjse/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxjse/value.h b/xfa/fxjse/value.h
index e728b8d857..2939ac34f7 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);
}