Skip to content

Commit

Permalink
Merge r185195 - Shrink the ArabicCharShapingMode enum in SVGGlyph.cpp
Browse files Browse the repository at this point in the history
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):
  • Loading branch information
zdobersek authored and carlosgcampos committed Jul 6, 2015
1 parent cbe91c9 commit 467ede2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,17 @@
2015-06-04 Zan Dobersek <zdobersek@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 <zalan@apple.com>

Subpixel rendering: Composited layer with subpixel gap does not get painted properly when its position changes.
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/platform/graphics/SVGGlyph.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 467ede2

Please sign in to comment.