diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index d2f73f2b70..5e4f6f1735 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp @@ -336,11 +336,7 @@ bool GrSoftwarePathRenderer::onDrawPath(const SkPath& path, if (sw_draw_path_to_mask_texture(path, pathBounds, fill, fContext, translate, &ast, antiAlias)) { -#if 1 - GrTexture* texture = ast.texture(); -#else SkAutoTUnref<GrTexture> texture(ast.detach()); -#endif GrAssert(NULL != texture); GrDrawTarget::AutoDeviceCoordDraw adcd(target, stageMask); enum { |