delete code for SK_SUPPORT_LEGACY_GETTOTALCLIP
TBR=
NOTRY=True
Author: reed@google.com
Review URL: https://codereview.chromium.org/354953008
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index a08e828..8640d72 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1111,15 +1111,6 @@
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 bdbcd3b..ec98b7e 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1773,12 +1773,6 @@
}
#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();
}