Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index 3e1eb9452bdfd6fe2394e4b9999fd32b6da5820d..1555c9a7a8d74f2cab9e0e865d68af7944b558f0 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -39,7 +39,7 @@ SkSurface_Gpu::SkSurface_Gpu(GrRenderTarget* renderTarget, const SkSurfaceProps* |
bool doClear) |
: INHERITED(renderTarget->width(), renderTarget->height(), props) { |
int deviceFlags = 0; |
- deviceFlags |= this->props().isUseDistanceFieldFonts() ? SkGpuDevice::kDFFonts_Flag : 0; |
+ deviceFlags |= this->props().isUseDistanceFieldFonts() ? SkGpuDevice::kDFText_Flag : 0; |
fDevice = SkGpuDevice::Create(renderTarget, this->props(), deviceFlags); |
if (kRGB_565_GrPixelConfig != renderTarget->config() && doClear) { |