Changeset 87696 in webkit
- Timestamp:
- May 30, 2011 1:08:51 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87691 r87696 1 2011-05-30 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] fast/css/font-face-zero-hash-key.html is crashing on the bots 6 https://bugs.webkit.org/show_bug.cgi?id=61693 7 8 * platform/gtk/Skipped: Unskip the test which is no longer crashing. 9 1 10 2011-05-30 Gavin Peters <gavinp@chromium.org> 2 11 -
trunk/LayoutTests/platform/gtk/Skipped
r87691 r87696 197 197 # https://bugs.webkit.org/show_bug.cgi?id=60158 198 198 fast/dom/Geolocation/argument-types.html 199 200 # Crash related to 0 pixel fonts.201 # https://bugs.webkit.org/show_bug.cgi?id=61693202 fast/css/font-face-zero-hash-key.html203 199 204 200 ############################################################################### -
trunk/Source/WebCore/ChangeLog
r87694 r87696 1 2011-05-30 Martin Robinson <mrobinson@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] fast/css/font-face-zero-hash-key.html is crashing on the bots 6 https://bugs.webkit.org/show_bug.cgi?id=61693 7 8 Do not try to read the FT_Face from m_scaledFont if it m_scaledFont is 9 null. A recent change fixing 0-pixel-size fonts means that m_scaledFont 10 may now be null. 11 12 No new tests. This change should cause fast/css/font-face-zero-hash-key.html 13 to stop crashing. 14 15 * platform/graphics/freetype/FontPlatformDataFreeType.cpp: 16 (WebCore::FontPlatformData::FontPlatformData): Do a null check before accessing 17 m_scaledFont. 18 1 19 2011-05-30 Noam Rosenthal <noam.rosenthal@nokia.com> 2 20 -
trunk/Source/WebCore/platform/graphics/freetype/FontPlatformDataFreeType.cpp
r87523 r87696 153 153 , m_syntheticBold(bold) 154 154 , m_syntheticOblique(italic) 155 , m_fixedWidth(false) 155 156 , m_font(fontFace) 156 157 , m_scaledFont(0) … … 158 159 initializeWithFontFace(fontFace); 159 160 160 FT_Face fontConfigFace = cairo_ft_scaled_font_lock_face(m_scaledFont); 161 if (fontConfigFace) { 162 m_fixedWidth = fontConfigFace->face_flags & FT_FACE_FLAG_FIXED_WIDTH; 163 cairo_ft_scaled_font_unlock_face(m_scaledFont); 161 if (m_scaledFont) { 162 FT_Face fontConfigFace = cairo_ft_scaled_font_lock_face(m_scaledFont); 163 if (fontConfigFace) { 164 m_fixedWidth = fontConfigFace->face_flags & FT_FACE_FLAG_FIXED_WIDTH; 165 cairo_ft_scaled_font_unlock_face(m_scaledFont); 166 } 164 167 } 165 168 }
Note: See TracChangeset
for help on using the changeset viewer.