Simplify GrClip::getConservativeBounds() signature

It turns out no one was using the intersection of rect functionality on
GrClip, and this helps simplify what the new clip stack needs to define.

Bug: skia:10205
Change-Id: If85a0c744dd68a8ad2f380b54a539ac74850e4ac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289440
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrClipStackClip.cpp b/src/gpu/GrClipStackClip.cpp
index 4fa6246..37121fd 100644
--- a/src/gpu/GrClipStackClip.cpp
+++ b/src/gpu/GrClipStackClip.cpp
@@ -62,18 +62,14 @@
     return false;
 }
 
-void GrClipStackClip::getConservativeBounds(int width, int height, SkIRect* devResult,
-                                            bool* isIntersectionOfRects) const {
-    if (!fStack) {
-        devResult->setXYWH(0, 0, width, height);
-        if (isIntersectionOfRects) {
-            *isIntersectionOfRects = true;
-        }
-        return;
+SkIRect GrClipStackClip::getConservativeBounds(int width, int height) const {
+    if (fStack) {
+        SkRect devBounds;
+        fStack->getConservativeBounds(0, 0, width, height, &devBounds);
+        return devBounds.roundOut();
+    } else {
+        return this->GrClip::getConservativeBounds(width, height);
     }
-    SkRect devBounds;
-    fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects);
-    devBounds.roundOut(devResult);
 }
 
 ////////////////////////////////////////////////////////////////////////////////