| Index: gm/multipicturedraw.cpp
|
| diff --git a/gm/multipicturedraw.cpp b/gm/multipicturedraw.cpp
|
| index 9a3f1a8df5745da1c3b6f07560939d1b0af80d97..afa83e517674404d46055bb84b9da86ef48daa5e 100644
|
| --- a/gm/multipicturedraw.cpp
|
| +++ b/gm/multipicturedraw.cpp
|
| @@ -155,6 +155,9 @@ static const SkPicture* make_tri_picture() {
|
|
|
| SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kPicWidth),
|
| SkIntToScalar(kPicHeight));
|
| + SkRect r = tri.getBounds();
|
| + r.outset(2.0f, 2.0f); // outset for stroke
|
| + canvas->clipRect(r);
|
| // The saveLayer/restore block is to exercise layer hoisting
|
| canvas->saveLayer(NULL, NULL);
|
| canvas->drawPath(tri, fill);
|
|
|