Fix picture refcnt bug in distantclip gm. Unreviewed.

git-svn-id: http://skia.googlecode.com/svn/trunk@5542 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
rileya@google.com 2012-09-14 14:24:14 +00:00
parent 235f56a92f
commit 71e21ba2af

View File

@ -52,7 +52,7 @@ protected:
// Finally we play the part of that second picture that should be green into the canvas.
canvas->save();
canvas->translate(extents / 2, -(offset - extents / 2));
canvas->drawPicture(pict2);
pict2.draw(canvas);
canvas->restore();
// If the image is red, we erroneously decided the clipPath was empty and didn't record