Index: webkit/port/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp |
diff --git a/webkit/port/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp b/webkit/port/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp |
index fd5aa4e706d08077d17b52f1fb19cd5869b986cc..65b02c72758ef61f786d16cac3fd125be4b60711 100644 |
--- a/webkit/port/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp |
+++ b/webkit/port/platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp |
@@ -63,7 +63,7 @@ bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned b |
unsigned allGlyphs = 0; // track if any of the glyphIDs are non-zero |
for (unsigned i = 0; i < length; i++) { |
- setGlyphDataForIndex(offset + i, glyphs[i], fontData); |
+ setGlyphDataForIndex(offset + i, glyphs[i], glyphs[i] ? fontData : NULL); |
allGlyphs |= glyphs[i]; |
} |
return allGlyphs != 0; |