complexclip gm to clip when saving layer with bounds.

The complexclip gm currently can do a save layer with some bounds, but
doesn't clip to those bounds. As a result when it is rotated it invokes
some unspecified behavior by drawing outside the save layer bounds.

Change-Id: Ifbdd4b5366a514d1760180dc6d5a74ebfe09d28b
Reviewed-on: https://skia-review.googlesource.com/127044
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
diff --git a/gm/complexclip.cpp b/gm/complexclip.cpp
index ae9c4db..897c41e 100644
--- a/gm/complexclip.cpp
+++ b/gm/complexclip.cpp
@@ -114,6 +114,7 @@
             boundPaint.setColor(SK_ColorRED);
             boundPaint.setStyle(SkPaint::kStroke_Style);
             canvas->drawRect(bounds, boundPaint);
+            canvas->clipRect(bounds);
             canvas->saveLayer(&bounds, nullptr);
         }