Title: [170584] trunk/Source/WebCore
Revision
170584
Author
mmaxfi...@apple.com
Date
2014-06-30 08:13:25 -0700 (Mon, 30 Jun 2014)

Log Message

U16_IS_SURROGATE should not be called with a UChar32
https://bugs.webkit.org/show_bug.cgi?id=134440

Reviewed by Darin Adler.

No new tests because there is no behavior change.

* platform/graphics/mac/ComplexTextController.cpp:
(WebCore::advanceByCombiningCharacterSequence):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (170583 => 170584)


--- trunk/Source/WebCore/ChangeLog	2014-06-30 14:48:16 UTC (rev 170583)
+++ trunk/Source/WebCore/ChangeLog	2014-06-30 15:13:25 UTC (rev 170584)
@@ -1,3 +1,15 @@
+2014-06-30  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        U16_IS_SURROGATE should not be called with a UChar32
+        https://bugs.webkit.org/show_bug.cgi?id=134440
+
+        Reviewed by Darin Adler.
+
+        No new tests because there is no behavior change.
+
+        * platform/graphics/mac/ComplexTextController.cpp:
+        (WebCore::advanceByCombiningCharacterSequence):
+
 2014-06-30  Ryuan Choi  <ryuan.c...@samsung.com>
 
         [EFL] Remove m_evasObject from Widget

Modified: trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp (170583 => 170584)


--- trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp	2014-06-30 14:48:16 UTC (rev 170583)
+++ trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp	2014-06-30 15:13:25 UTC (rev 170584)
@@ -273,7 +273,7 @@
     U16_NEXT(iterator, i, remainingCharacters, baseCharacter);
     iterator = iterator + i;
 
-    if (U16_IS_SURROGATE(baseCharacter))
+    if (U_IS_SURROGATE(baseCharacter))
         return false;
 
     // Consume marks.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to