aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-06-27 04:49:12 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-27 04:49:12 -0700
commit0766931dc44a0d5da67b732d4a69967abcc235c9 (patch)
tree00fe6ecc0ec453291d8e128d38675d2fb6710dd6
parent0808c82e83749c24183af92a43c2e0e69b35d745 (diff)
delete code for SK_SUPPORT_LEGACY_GETTOTALCLIP
TBR= NOTRY=True Author: reed@google.com Review URL: https://codereview.chromium.org/354953008
-rw-r--r--include/core/SkCanvas.h9
-rw-r--r--src/core/SkCanvas.cpp6
2 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index a08e82800c..8640d729b0 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1111,15 +1111,6 @@ public:
virtual ClipType getClipType() const;
#endif
-#ifdef SK_SUPPORT_LEGACY_GETTOTALCLIP
- /** DEPRECATED -- need to move this guy to private/friend
- * Return the current device clip (concatenation of all clip calls).
- * This does not account for the translate in any of the devices.
- * @return the current device clip (concatenation of all clip calls).
- */
- const SkRegion& getTotalClip() const;
-#endif
-
/** Return the clip stack. The clip stack stores all the individual
* clips organized by the save/restore frame in which they were
* added.
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index bdbcd3be74..ec98b7e3e6 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1773,12 +1773,6 @@ SkCanvas::ClipType SkCanvas::getClipType() const {
}
#endif
-#ifdef SK_SUPPORT_LEGACY_GETTOTALCLIP
-const SkRegion& SkCanvas::getTotalClip() const {
- return fMCRec->fRasterClip->forceGetBW();
-}
-#endif
-
const SkRegion& SkCanvas::internal_private_getTotalClip() const {
return fMCRec->fRasterClip->forceGetBW();
}