Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 4061c4882137e9888ff697a20c171284512501bc..dd01e7d2b8a4eca47825c042b8635b06da1c70bd 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -68,8 +68,12 @@ GrBitmapTextContext* GrBitmapTextContext::Create(GrContext* context, |
return SkNEW_ARGS(GrBitmapTextContext, (context, gpuDevice, props)); |
} |
-bool GrBitmapTextContext::canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) { |
- return !SkDraw::ShouldDrawTextAsPaths(paint, viewMatrix); |
+bool GrBitmapTextContext::canDraw(const GrRenderTarget* rt, |
+ const GrClip& clip, |
+ const GrPaint& paint, |
+ const SkPaint& skPaint, |
+ const SkMatrix& viewMatrix) { |
+ return !SkDraw::ShouldDrawTextAsPaths(skPaint, viewMatrix); |
} |
inline void GrBitmapTextContext::init(GrRenderTarget* rt, const GrClip& clip, |