diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/parser/SourceCode.cpp | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/parser/SourceCode.cpp')
-rw-r--r-- | Source/JavaScriptCore/parser/SourceCode.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/parser/SourceCode.cpp b/Source/JavaScriptCore/parser/SourceCode.cpp index c430e9793..7c2d6adbc 100644 --- a/Source/JavaScriptCore/parser/SourceCode.cpp +++ b/Source/JavaScriptCore/parser/SourceCode.cpp @@ -26,7 +26,6 @@ #include "config.h" #include "SourceCode.h" -#include "JSCInlines.h" #include <wtf/text/CString.h> namespace JSC { @@ -36,7 +35,7 @@ CString SourceCode::toUTF8() const if (!m_provider) return CString("", 0); - return m_provider->source().substring(m_startChar, m_endChar - m_startChar).utf8(); + return m_provider->source().impl()->utf8ForRange(m_startChar, m_endChar - m_startChar); } } // namespace JSC |