diff options
author | Steve Block <steveblock@google.com> | 2011-02-17 09:06:39 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-17 09:06:39 -0800 |
commit | 7aed021d3442e74aedc738192c55d8978b2d9643 (patch) | |
tree | 7801e8554b642ef58b280135c847003f833bb70e /WebCore/svg/SVGFont.cpp | |
parent | 990373e4c55ba4f0312b5ab7974388d717d1907c (diff) | |
parent | f7f6d6409be37f76dc308902285d24806dc87ef2 (diff) | |
download | external_webkit-7aed021d3442e74aedc738192c55d8978b2d9643.zip external_webkit-7aed021d3442e74aedc738192c55d8978b2d9643.tar.gz external_webkit-7aed021d3442e74aedc738192c55d8978b2d9643.tar.bz2 |
Merge "Merge WebKit at Chromium 9.0.597.106: Initial merge by Git"
Diffstat (limited to 'WebCore/svg/SVGFont.cpp')
-rw-r--r-- | WebCore/svg/SVGFont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/svg/SVGFont.cpp b/WebCore/svg/SVGFont.cpp index 898c259..25dbbe3 100644 --- a/WebCore/svg/SVGFont.cpp +++ b/WebCore/svg/SVGFont.cpp @@ -241,7 +241,7 @@ struct SVGTextRunWalker { { ASSERT(0 <= from && from <= to && to - from <= run.length()); - const String text = Font::normalizeSpaces(String(run.data(from), run.length())); + const String text = Font::normalizeSpaces(String(run.data(from), to - from)); Vector<SVGGlyphIdentifier::ArabicForm> chars(charactersWithArabicForm(text, run.rtl())); SVGGlyphIdentifier identifier; |