Rename flag from "distance field" to "device independent."
Review URL: https://codereview.chromium.org/1322433006
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
index e66a452..64c18fc 100644
--- a/dm/DMSrcSink.cpp
+++ b/dm/DMSrcSink.cpp
@@ -638,12 +638,12 @@
GPUSink::GPUSink(GrContextFactory::GLContextType ct,
GrGLStandard api,
int samples,
- bool dfText,
+ bool diText,
bool threaded)
: fContextType(ct)
, fGpuAPI(api)
, fSampleCount(samples)
- , fUseDFText(dfText)
+ , fUseDIText(diText)
, fThreaded(threaded) {}
int GPUSink::enclave() const {
@@ -661,7 +661,7 @@
const SkImageInfo info =
SkImageInfo::Make(size.width(), size.height(), kN32_SkColorType, kPremul_SkAlphaType);
SkAutoTUnref<SkSurface> surface(
- NewGpuSurface(&factory, fContextType, fGpuAPI, info, fSampleCount, fUseDFText));
+ NewGpuSurface(&factory, fContextType, fGpuAPI, info, fSampleCount, fUseDIText));
if (!surface) {
return "Could not create a surface.";
}