Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: Source/WebCore/platform/graphics/WidthIterator.cpp

Issue 7145023: Merge 88139 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/graphics/WidthIterator.cpp
===================================================================
--- Source/WebCore/platform/graphics/WidthIterator.cpp (revision 88778)
+++ Source/WebCore/platform/graphics/WidthIterator.cpp (working copy)
@@ -80,6 +80,9 @@
offset = m_end;
int currentCharacter = m_currentCharacter;
+ if (currentCharacter >= offset)
+ return;
+
const UChar* cp = m_run.data(currentCharacter);
bool rtl = m_run.rtl();
« no previous file with comments | « Source/WebCore/platform/graphics/TextRun.h ('k') | Source/WebCore/platform/graphics/chromium/ComplexTextControllerLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698