diff options
author | 2012-09-14 14:24:14 +0000 | |
---|---|---|
committer | 2012-09-14 14:24:14 +0000 | |
commit | 71e21ba2afc78ae56cb72cfc5a64858cc2144a0a (patch) | |
tree | 5eca58d4adeee7007226f02559fa35e9e7df8115 /gm | |
parent | 235f56a92f6eb6accbb243e11b3c45e3798f38f2 (diff) |
Fix picture refcnt bug in distantclip gm. Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@5542 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/distantclip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/distantclip.cpp b/gm/distantclip.cpp index b8a7c2b7b7..09dacea401 100644 --- a/gm/distantclip.cpp +++ b/gm/distantclip.cpp @@ -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 |