Changeset 150106 in webkit


Ignore:
Timestamp:
May 15, 2013 2:03:56 AM (11 years ago)
Author:
Patrick Gansterer
Message:

[WINCE] Fix calls to GlyphPage::setGlyphDataForIndex()
https://bugs.webkit.org/show_bug.cgi?id=116137

Reviewed by Andreas Kling.

Use zero for the glyp when the fontData pointer is null.
This aligns GlyphPageTreeNodeWinCE with the other implementations
and makes all ASSERT() pass in setGlyphDataForIndex().

  • platform/graphics/wince/GlyphPageTreeNodeWinCE.cpp:

(WebCore::GlyphPage::fill):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r150105 r150106  
     12013-05-15  Patrick Gansterer  <paroga@webkit.org>
     2
     3        [WINCE] Fix calls to GlyphPage::setGlyphDataForIndex()
     4        https://bugs.webkit.org/show_bug.cgi?id=116137
     5
     6        Reviewed by Andreas Kling.
     7
     8        Use zero for the glyp when the fontData pointer is null.
     9        This aligns GlyphPageTreeNodeWinCE with the other implementations
     10        and makes all ASSERT() pass in setGlyphDataForIndex().
     11
     12        * platform/graphics/wince/GlyphPageTreeNodeWinCE.cpp:
     13        (WebCore::GlyphPage::fill):
     14
    1152013-05-15  Benjamin Poulain  <bpoulain@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/wince/GlyphPageTreeNodeWinCE.cpp

    r135108 r150106  
    4949                        setGlyphDataForIndex(offset + i, buffer[i], fontData);
    5050                    else
    51                         setGlyphDataForIndex(offset + i, buffer[i], 0);
     51                        setGlyphDataForIndex(offset + i, 0, 0);
    5252                }
    5353                return true;
     
    5959                        setGlyphDataForIndex(offset + i, buffer[i], fontData);
    6060                    else
    61                         setGlyphDataForIndex(offset + i, buffer[i], 0);
     61                        setGlyphDataForIndex(offset + i, 0, 0);
    6262                }
    6363                return true;
Note: See TracChangeset for help on using the changeset viewer.