aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-01-27 08:21:36 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-27 13:59:47 +0000
commit837e74365e511853df534cc23bd2128c7c235e2f (patch)
tree7e97b434f0c26e1725f38bbf21d8b68dcb413a15 /include
parent0bd4a23ef40d74ef051eb7f457c133d5febc377d (diff)
remove SK_SUPPORT_LEGACY_GETCLIPBOUNDS
BUG=skia:6166 Change-Id: I5c8035ee172e14a7a769baff45392a29014d09cb Reviewed-on: https://skia-review.googlesource.com/7645 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 13b3bc6f77..b2bc9ed3f4 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -554,23 +554,6 @@ public:
return !bounds->isEmpty();
}
-#ifdef SK_SUPPORT_LEGACY_GETCLIPBOUNDS
- bool getClipBounds(SkRect* bounds) const {
- SkRect r = this->getLocalClipBounds();
- if (bounds) {
- *bounds = r;
- }
- return !r.isEmpty();
- }
- bool getClipDeviceBounds(SkIRect* bounds) const {
- SkIRect r = this->getDeviceClipBounds();
- if (bounds) {
- *bounds = r;
- }
- return !r.isEmpty();
- }
-#endif
-
/** Fill the entire canvas' bitmap (restricted to the current clip) with the
specified ARGB color, using the specified mode.
@param a the alpha component (0..255) of the color to fill the canvas