Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 0ec2b858c43c23bbaab8ee7741345c3c33e096df..8b9d288271dd07409a8ea711d42bf57bc7ed7289 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -157,8 +157,8 @@ SkGpuDevice::SkGpuDevice(GrSurface* surface, unsigned flags) { |
fLegacyBitmap.setPixelRef(pr)->unref(); |
bool useDFFonts = !!(flags & kDFFonts_Flag); |
- fMainTextContext = fContext->createTextContext(fRenderTarget, fLeakyProperties, useDFFonts); |
- fFallbackTextContext = SkNEW_ARGS(GrBitmapTextContext, (fContext, fLeakyProperties)); |
+ fMainTextContext = fContext->createTextContext(fRenderTarget, this->getLeakyProperties(), useDFFonts); |
+ fFallbackTextContext = SkNEW_ARGS(GrBitmapTextContext, (fContext, this->getLeakyProperties())); |
} |
SkGpuDevice* SkGpuDevice::Create(GrContext* context, const SkImageInfo& origInfo, |