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:
parent
235f56a92f
commit
71e21ba2af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user