Title: [215752] trunk/Source/WebCore
Revision
215752
Author
mmaxfi...@apple.com
Date
2017-04-25 13:22:42 -0700 (Tue, 25 Apr 2017)

Log Message

[GTK] Build fix after r215737
https://bugs.webkit.org/show_bug.cgi?id=170842

Unreviewed.

No new tests because there is no behavior change.

* platform/graphics/FontCascade.h:
(WebCore::FontCascade::treatAsZeroWidthSpace):
(WebCore::FontCascade::treatAsZeroWidthSpaceInComplexScript):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (215751 => 215752)


--- trunk/Source/WebCore/ChangeLog	2017-04-25 19:37:16 UTC (rev 215751)
+++ trunk/Source/WebCore/ChangeLog	2017-04-25 20:22:42 UTC (rev 215752)
@@ -1,3 +1,16 @@
+2017-04-25  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [GTK] Build fix after r215737
+        https://bugs.webkit.org/show_bug.cgi?id=170842
+
+        Unreviewed.
+
+        No new tests because there is no behavior change.
+
+        * platform/graphics/FontCascade.h:
+        (WebCore::FontCascade::treatAsZeroWidthSpace):
+        (WebCore::FontCascade::treatAsZeroWidthSpaceInComplexScript):
+
 2017-04-25  Wenson Hsieh  <wenson_hs...@apple.com>
 
         Remove an unnecessary -respondsToSelector: check after r215724

Modified: trunk/Source/WebCore/platform/graphics/FontCascade.h (215751 => 215752)


--- trunk/Source/WebCore/platform/graphics/FontCascade.h	2017-04-25 19:37:16 UTC (rev 215751)
+++ trunk/Source/WebCore/platform/graphics/FontCascade.h	2017-04-25 20:22:42 UTC (rev 215752)
@@ -261,7 +261,8 @@
 
     FontSelector* fontSelector() const;
     static bool treatAsSpace(UChar c) { return c == ' ' || c == '\t' || c == '\n' || c == noBreakSpace; }
-    static bool treatAsZeroWidthSpace(UChar c) { return c < 0x20 || (c >= 0x7F && c < 0xA0) || c == softHyphen || c == zeroWidthSpace || (c >= 0x200e && c <= 0x200f) || (c >= 0x202a && c <= 0x202e) || c == zeroWidthNoBreakSpace || c == objectReplacementCharacter || c == zeroWidthNonJoiner || c == zeroWidthJoiner; }
+    static bool treatAsZeroWidthSpace(UChar c) { return treatAsZeroWidthSpaceInComplexScript(c) || c == 0x200c || c == 0x200d; }
+    static bool treatAsZeroWidthSpaceInComplexScript(UChar c) { return c < 0x20 || (c >= 0x7F && c < 0xA0) || c == softHyphen || c == zeroWidthSpace || (c >= 0x200e && c <= 0x200f) || (c >= 0x202a && c <= 0x202e) || c == zeroWidthNoBreakSpace || c == objectReplacementCharacter; }
     static bool canReceiveTextEmphasis(UChar32);
 
     static inline UChar normalizeSpaces(UChar character)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to