Index: dm/DMGpuSupport.h |
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h |
index 3b64bd82c4e1ba81e0954c1e1b0e9601d81b8be2..0b9596ebdc85ff17dd61a0d6cb7fb3f991c5ae87 100644 |
--- a/dm/DMGpuSupport.h |
+++ b/dm/DMGpuSupport.h |
@@ -29,8 +29,8 @@ static inline SkSurface* NewGpuSurface(GrContextFactory* grFactory, |
GrGLStandard gpuAPI, |
SkImageInfo info, |
int samples, |
- bool useDFText) { |
- uint32_t flags = useDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; |
+ bool useDIText) { |
+ uint32_t flags = useDIText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : 0; |
SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); |
return SkSurface::NewRenderTarget(grFactory->get(type, gpuAPI), SkSurface::kNo_Budgeted, |
info, samples, &props); |