[GTK] Build fix after r215737
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Apr 2017 18:21:09 +0000 (18:21 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Apr 2017 18:21:09 +0000 (18:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=170842

Unreviewed.

* platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
(WebCore::normalizeCharacters):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215745 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp

index 0a8ba25..85b84d6 100644 (file)
@@ -1,3 +1,13 @@
+2017-04-25  Carlos Alberto Lopez Perez  <clopez@igalia.com>
+
+        [GTK] Build fix after r215737
+        https://bugs.webkit.org/show_bug.cgi?id=170842
+
+        Unreviewed.
+
+        * platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
+        (WebCore::normalizeCharacters):
+
 2017-04-25  John Wilander  <wilander@apple.com>
 
         Resource Load Statistics: Clear network process cache when clearing store
index 9e6f448..3ce3a7a 100644 (file)
@@ -179,7 +179,7 @@ static void normalizeCharacters(const TextRun& run, UChar* destination, unsigned
         // Don't normalize tabs as they are not treated as spaces for word-end.
         if (FontCascade::treatAsSpace(character) && character != '\t')
             character = ' ';
-        else if (FontCascade::treatAsZeroWidthSpaceInComplexScript(character))
+        else if (FontCascade::treatAsZeroWidthSpace(character))
             character = zeroWidthSpace;
         U16_APPEND(destination, position, length, character, error);
         ASSERT_UNUSED(error, !error);