diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-26 12:56:54 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-26 12:56:54 +0000 |
commit | 009f62919fc5d35f465c725c2bb75258049b6d73 (patch) | |
tree | 9cebe09fe41ef180e38d67805291dff60f190fcd /src | |
parent | c2d6ce4c36a57caa8bd0b0fc593963a7c11a79f2 (diff) |
Reverting r4324
git-svn-id: http://skia.googlecode.com/svn/trunk@4338 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index 5e4f6f1735..d2f73f2b70 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp @@ -336,7 +336,11 @@ 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 { |