| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 2fea2cbbce22c418008023e5328cdaa00465d5fc..a934501a6c0127a1d8a226ea2d30607b64eac538 100644
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -120,12 +120,12 @@ GrDrawContext* GrContext::DrawingMgr::drawContext(const SkSurfaceProps* surfaceP
|
| const SkSurfaceProps props(SkSurfacePropsCopyOrDefault(surfaceProps));
|
|
|
| SkASSERT(props.pixelGeometry() < kNumPixelGeometries);
|
| - if (!fDrawContext[props.pixelGeometry()][props.isUseDistanceFieldFonts()]) {
|
| - fDrawContext[props.pixelGeometry()][props.isUseDistanceFieldFonts()] =
|
| + if (!fDrawContext[props.pixelGeometry()][props.isUseDeviceIndependentFonts()]) {
|
| + fDrawContext[props.pixelGeometry()][props.isUseDeviceIndependentFonts()] =
|
| new GrDrawContext(fContext, fDrawTarget, props);
|
| }
|
|
|
| - return fDrawContext[props.pixelGeometry()][props.isUseDistanceFieldFonts()];
|
| + return fDrawContext[props.pixelGeometry()][props.isUseDeviceIndependentFonts()];
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|