Title: [88277] trunk/Source/WebCore
- Revision
- 88277
- Author
- [email protected]
- Date
- 2011-06-07 15:45:14 -0700 (Tue, 07 Jun 2011)
Log Message
2011-06-07 Abhishek Arya <[email protected]>
Reviewed by Dan Bernstein.
Replicate WidthIterator.cpp fix from r88139.
https://bugs.webkit.org/show_bug.cgi?id=62238
No new tests. Covered by existing layout tests on XP debug bots.
* platform/graphics/win/UniscribeController.cpp:
(WebCore::UniscribeController::advance):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (88276 => 88277)
--- trunk/Source/WebCore/ChangeLog 2011-06-07 22:41:59 UTC (rev 88276)
+++ trunk/Source/WebCore/ChangeLog 2011-06-07 22:45:14 UTC (rev 88277)
@@ -1,3 +1,15 @@
+2011-06-07 Abhishek Arya <[email protected]>
+
+ Reviewed by Dan Bernstein.
+
+ Replicate WidthIterator.cpp fix from r88139.
+ https://bugs.webkit.org/show_bug.cgi?id=62238
+
+ No new tests. Covered by existing layout tests on XP debug bots.
+
+ * platform/graphics/win/UniscribeController.cpp:
+ (WebCore::UniscribeController::advance):
+
2011-06-07 Sheriff Bot <[email protected]>
Unreviewed, rolling out r88221, r88224, and r88231.
Modified: trunk/Source/WebCore/platform/graphics/win/UniscribeController.cpp (88276 => 88277)
--- trunk/Source/WebCore/platform/graphics/win/UniscribeController.cpp 2011-06-07 22:41:59 UTC (rev 88276)
+++ trunk/Source/WebCore/platform/graphics/win/UniscribeController.cpp 2011-06-07 22:45:14 UTC (rev 88277)
@@ -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