| Index: src/device/xps/SkXPSDevice.cpp
|
| diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp
|
| index d1525479c4af23e802d6d61848ecd812ed444cce..56800d154018c296e7d417b0692e695965bc5279 100644
|
| --- a/src/device/xps/SkXPSDevice.cpp
|
| +++ b/src/device/xps/SkXPSDevice.cpp
|
| @@ -1949,7 +1949,7 @@ HRESULT SkXPSDevice::CreateTypefaceUse(const SkPaint& paint,
|
| newTypefaceUse.fontData = fontData;
|
| newTypefaceUse.xpsFont = xpsFontResource.release();
|
|
|
| - SkAutoGlyphCache agc(paint, NULL, &SkMatrix::I());
|
| + SkAutoGlyphCache agc(paint, &this->surfaceProps(), &SkMatrix::I());
|
| SkGlyphCache* glyphCache = agc.getCache();
|
| unsigned int glyphCount = glyphCache->getGlyphCount();
|
| newTypefaceUse.glyphsUsed = new SkBitSet(glyphCount);
|
|
|