Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index 34319516d52a02166395fe0fc6acb644791a31b0..63efcfcd850ecd78420b94b04899e8f879504de8 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp |
@@ -8,7 +8,6 @@ |
#include "GrStencilAndCoverTextContext.h" |
#include "GrAtlasTextContext.h" |
#include "GrDrawTarget.h" |
-#include "GrGpu.h" |
#include "GrPath.h" |
#include "GrPathRange.h" |
#include "GrResourceProvider.h" |
@@ -239,7 +238,7 @@ static GrPathRange* get_gr_glyphs(GrContext* ctx, |
static_cast<GrPathRange*>( |
ctx->resourceProvider()->findAndRefResourceByUniqueKey(glyphKey))); |
if (NULL == glyphs) { |
- glyphs.reset(ctx->getGpu()->pathRendering()->createGlyphs(typeface, desc, stroke)); |
+ glyphs.reset(ctx->resourceProvider()->createGlyphs(typeface, desc, stroke)); |
ctx->resourceProvider()->assignUniqueKeyToResource(glyphKey, glyphs); |
} else { |
SkASSERT(NULL == desc || glyphs->isEqualTo(*desc)); |