Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 7bba41f60aa42f7dc21e2e5ff71500a09076d2ef..3c91101b346376b50e190079e5a19c1ac1057f51 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -11,7 +11,7 @@ |
#include "effects/GrSimpleTextureEffect.h" |
#include "GrContext.h" |
-#include "GrTextContext.h" |
+#include "GrBitmapTextContext.h" |
#include "SkGrTexturePixelRef.h" |
@@ -1743,7 +1743,7 @@ void SkGpuDevice::drawText(const SkDraw& draw, const void* text, |
if (!skPaint2GrPaintShader(this, paint, true, &grPaint)) { |
return; |
} |
- GrTextContext context(fContext, grPaint); |
+ GrBitmapTextContext context(fContext, grPaint); |
myDraw.fProcs = this->initDrawForText(&context); |
this->INHERITED::drawText(myDraw, text, byteLength, x, y, paint); |
} |
@@ -1766,7 +1766,7 @@ void SkGpuDevice::drawPosText(const SkDraw& draw, const void* text, |
if (!skPaint2GrPaintShader(this, paint, true, &grPaint)) { |
return; |
} |
- GrTextContext context(fContext, grPaint); |
+ GrBitmapTextContext context(fContext, grPaint); |
myDraw.fProcs = this->initDrawForText(&context); |
this->INHERITED::drawPosText(myDraw, text, byteLength, pos, constY, |
scalarsPerPos, paint); |