summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/LiteralParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/LiteralParser.h')
-rw-r--r--JavaScriptCore/runtime/LiteralParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/JavaScriptCore/runtime/LiteralParser.h b/JavaScriptCore/runtime/LiteralParser.h
index 0f8072b..6df5d06 100644
--- a/JavaScriptCore/runtime/LiteralParser.h
+++ b/JavaScriptCore/runtime/LiteralParser.h
@@ -72,8 +72,8 @@ namespace JSC {
Lexer(const UString& s, ParserMode mode)
: m_string(s)
, m_mode(mode)
- , m_ptr(s.data())
- , m_end(s.data() + s.size())
+ , m_ptr(s.characters())
+ , m_end(s.characters() + s.length())
{
}