| Index: Source/core/platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp
|
| diff --git a/Source/core/platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp b/Source/core/platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp
|
| index 36201016ee28f02a6a43538738e83a8cf92eaf27..c9a3217de79444110de04c9dc000d37b642b130b 100644
|
| --- a/Source/core/platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp
|
| +++ b/Source/core/platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp
|
| @@ -149,7 +149,7 @@ static bool fillBMPGlyphs(unsigned offset,
|
| bool haveGlyphs = false;
|
| int invalidGlyph = 0xFFFF;
|
| const DWORD cffTableTag = 0x20464643; // 4-byte identifier for OpenType CFF table ('CFF ').
|
| - if ((windowsVersion() < WindowsVista) && !(tm.tmPitchAndFamily & TMPF_TRUETYPE) && (GetFontData(dc, cffTableTag, 0, 0, 0) == GDI_ERROR))
|
| + if (!isWindowsVistaOrGreater() && !(tm.tmPitchAndFamily & TMPF_TRUETYPE) && (GetFontData(dc, cffTableTag, 0, 0, 0) == GDI_ERROR))
|
| invalidGlyph = 0x1F;
|
|
|
| Glyph spaceGlyph = 0; // Glyph for a space. Lazily filled.
|
|
|