Fix picture refcnt bug in distantclip gm. Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@5542 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/distantclip.cpp b/gm/distantclip.cpp
index b8a7c2b..09dacea 100644
--- a/gm/distantclip.cpp
+++ b/gm/distantclip.cpp
@@ -52,7 +52,7 @@
// 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