Title: [88826] branches/chromium/782/Source/WebCore/platform/graphics/win/UniscribeController.cpp
Revision
88826
Author
[email protected]
Date
2011-06-14 11:05:02 -0700 (Tue, 14 Jun 2011)

Log Message

Merge 88277
BUG=85256
Review URL: http://codereview.chromium.org/7104146

Modified Paths

Diff

Modified: branches/chromium/782/Source/WebCore/platform/graphics/win/UniscribeController.cpp (88825 => 88826)


--- branches/chromium/782/Source/WebCore/platform/graphics/win/UniscribeController.cpp	2011-06-14 18:03:08 UTC (rev 88825)
+++ branches/chromium/782/Source/WebCore/platform/graphics/win/UniscribeController.cpp	2011-06-14 18:05:02 UTC (rev 88826)
@@ -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.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to