Title: [185195] trunk/Source/WebCore
Revision
185195
Author
zandober...@gmail.com
Date
2015-06-04 00:39:26 -0700 (Thu, 04 Jun 2015)

Log Message

Shrink the ArabicCharShapingMode enum in SVGGlyph.cpp
https://bugs.webkit.org/show_bug.cgi?id=145564

Reviewed by Darin Adler.

Shrink the ArabicCharShapingMode enum to just one byte.
This drops the size of the static s_arabicCharShapingMode
array of  ArabicCharShapingMode values from 888 bytes to 222.

* platform/graphics/SVGGlyph.cpp:
(WebCore::processArabicFormDetection):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185194 => 185195)


--- trunk/Source/WebCore/ChangeLog	2015-06-04 06:49:27 UTC (rev 185194)
+++ trunk/Source/WebCore/ChangeLog	2015-06-04 07:39:26 UTC (rev 185195)
@@ -1,3 +1,17 @@
+2015-06-04  Zan Dobersek  <zdober...@igalia.com>
+
+        Shrink the ArabicCharShapingMode enum in SVGGlyph.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=145564
+
+        Reviewed by Darin Adler.
+
+        Shrink the ArabicCharShapingMode enum to just one byte.
+        This drops the size of the static s_arabicCharShapingMode
+        array of  ArabicCharShapingMode values from 888 bytes to 222.
+
+        * platform/graphics/SVGGlyph.cpp:
+        (WebCore::processArabicFormDetection):
+
 2015-06-03  Zalan Bujtas  <za...@apple.com>
 
         Use borderBoxRect instead of contentBoxRect for backdrop filter.

Modified: trunk/Source/WebCore/platform/graphics/SVGGlyph.cpp (185194 => 185195)


--- trunk/Source/WebCore/platform/graphics/SVGGlyph.cpp	2015-06-04 06:49:27 UTC (rev 185194)
+++ trunk/Source/WebCore/platform/graphics/SVGGlyph.cpp	2015-06-04 07:39:26 UTC (rev 185195)
@@ -26,7 +26,7 @@
 namespace WebCore {
 
 // Helper functions to determine the arabic character forms (initial, medial, terminal, isolated)
-enum ArabicCharShapingMode {
+enum ArabicCharShapingMode : uint8_t {
     SNone = 0,
     SRight = 1,
     SDual = 2
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to