Index: src/gpu/GrPathRendering.cpp |
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp |
index 456f6d84c0b37fb4a2b0f10dd1c745b27af8a183..c7f2d9df549f880894f1bf298760a9e1a3ec9d7f 100644 |
--- a/src/gpu/GrPathRendering.cpp |
+++ b/src/gpu/GrPathRendering.cpp |
@@ -30,7 +30,7 @@ |
void generatePath(int glyphID, SkPath* out) SK_OVERRIDE { |
SkGlyph skGlyph; |
- skGlyph.initWithGlyphID(glyphID); |
+ skGlyph.init(SkGlyph::MakeID(glyphID)); |
fScalerContext->getMetrics(&skGlyph); |
fScalerContext->getPath(skGlyph, out); |