aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/distantclip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/distantclip.cpp')
-rw-r--r--gm/distantclip.cpp2
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