Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index c79c75d52bbf5eefced529c30bdaa2cf134544fb..a5a70d9220b768a89454ccaa8cbdf2fd1be521b9 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -167,7 +167,8 @@ struct GPUTarget : public Target { |
return true; |
} |
bool init(SkImageInfo info, Benchmark* bench) override { |
- uint32_t flags = this->config.useDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; |
+ uint32_t flags = this->config.useDFText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : |
+ 0; |
SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); |
this->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(this->config.ctxType), |
SkSurface::kNo_Budgeted, info, |