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