Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index b5ab52319c953bdbbb6796804af5ce51c1f4b9d9..f8af8e606a9f067491a4dce30081774dca3bed7e 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp |
@@ -212,8 +212,7 @@ static GrPathRange* get_gr_glyphs(GrContext* ctx, |
keyData[0] = desc ? desc->getChecksum() : 0; |
keyData[0] = (keyData[0] << 32) | (typeface ? typeface->uniqueID() : 0); |
keyData[1] = GrPath::ComputeStrokeKey(stroke); |
- GrResourceKey resourceKey = GrResourceKey(GrCacheID(gGlyphsDomain, key), |
- GrPathRange::resourceType(), 0); |
+ GrResourceKey resourceKey = GrResourceKey(GrCacheID(gGlyphsDomain, key), 0); |
SkAutoTUnref<GrPathRange> glyphs( |
static_cast<GrPathRange*>(ctx->findAndRefCachedResource(resourceKey))); |