Title: [196469] trunk/Source/WebCore
Revision
196469
Author
o...@webkit.org
Date
2016-02-12 05:52:07 -0800 (Fri, 12 Feb 2016)

Log Message

GCC buildfix in Source/WebCore/svg/SVGToOTFFontConversion.cpp
https://bugs.webkit.org/show_bug.cgi?id=154162

Reviewed by Andreas Kling.

* svg/SVGToOTFFontConversion.cpp:
(WebCore::SVGToOTFFontConverter::finishAppendingKERNSubtable):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (196468 => 196469)


--- trunk/Source/WebCore/ChangeLog	2016-02-12 12:39:45 UTC (rev 196468)
+++ trunk/Source/WebCore/ChangeLog	2016-02-12 13:52:07 UTC (rev 196469)
@@ -1,3 +1,13 @@
+2016-02-12  Csaba Osztrogonác  <o...@webkit.org>
+
+        GCC buildfix in Source/WebCore/svg/SVGToOTFFontConversion.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=154162
+
+        Reviewed by Andreas Kling.
+
+        * svg/SVGToOTFFontConversion.cpp:
+        (WebCore::SVGToOTFFontConverter::finishAppendingKERNSubtable):
+
 2016-02-12  Andreas Kling  <akl...@apple.com>
 
         Don't invalidate the FontCache on memory pressure.

Modified: trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp (196468 => 196469)


--- trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp	2016-02-12 12:39:45 UTC (rev 196468)
+++ trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp	2016-02-12 13:52:07 UTC (rev 196469)
@@ -1097,10 +1097,10 @@
     append16((kerningData.size() - roundedNumKerningPairs) * 6); // rangeShift: "The value of nPairs minus the largest power of two less than or equal to nPairs,
                                                                         // and then multiplied by the size in bytes of an entry in the table."
 
-    for (auto& kerningData : kerningData) {
-        append16(kerningData.glyph1);
-        append16(kerningData.glyph2);
-        append16(kerningData.adjustment);
+    for (auto& kerningDataElement : kerningData) {
+        append16(kerningDataElement.glyph1);
+        append16(kerningDataElement.glyph2);
+        append16(kerningDataElement.adjustment);
     }
 
     return sizeOfKerningDataTable;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to