Index: gm/dftext.cpp |
diff --git a/gm/dftext.cpp b/gm/dftext.cpp |
index dccc62adb46a1e3b08ebe76ac7d971a45b17337b..65e64a90937b993ad6fd807f69cbcaa007431e28 100755 |
--- a/gm/dftext.cpp |
+++ b/gm/dftext.cpp |
@@ -48,9 +48,8 @@ |
#if SK_SUPPORT_GPU |
GrContext* ctx = inputCanvas->getGrContext(); |
SkImageInfo info = SkImageInfo::MakeN32Premul(onISize()); |
- SkSurfaceProps props(SkSurfaceProps::kUseDistanceFieldFonts_Flag, |
- SkSurfaceProps::kLegacyFontHost_InitType); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, info, 0, &props)); |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, info, 0, |
+ SkSurface::kDistanceField_TextRenderMode)); |
SkCanvas* canvas = surface->getCanvas(); |
#else |
SkCanvas* canvas = inputCanvas; |