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

Unified Diff: Source/WebCore/platform/graphics/win/UniscribeController.cpp

Issue 7104146: Merge 88277 (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/win/UniscribeController.cpp
===================================================================
--- Source/WebCore/platform/graphics/win/UniscribeController.cpp (revision 88825)
+++ Source/WebCore/platform/graphics/win/UniscribeController.cpp (working copy)
@@ -101,12 +101,12 @@
if (static_cast<int>(offset) > m_end)
offset = m_end;
- // Itemize the string.
- const UChar* cp = m_run.data(m_currentCharacter);
int length = offset - m_currentCharacter;
if (length <= 0)
return;
+ // Itemize the string.
+ const UChar* cp = m_run.data(m_currentCharacter);
unsigned baseCharacter = m_currentCharacter;
// We break up itemization of the string by fontData and (if needed) the use of small caps.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698