Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index bab1edca0b562617d10ccdba9096964a28b640cb..104dfc488d81fc099fbca6b10860997bfdf36e6f 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1681,18 +1681,6 @@ const SkMatrix& SkCanvas::getTotalMatrix() const { |
return fMCRec->fMatrix; |
} |
-#ifdef SK_SUPPORT_LEGACY_GETCLIPTYPE |
-SkCanvas::ClipType SkCanvas::getClipType() const { |
- if (fMCRec->fRasterClip.isEmpty()) { |
- return kEmpty_ClipType; |
- } |
- if (fMCRec->fRasterClip.isRect()) { |
- return kRect_ClipType; |
- } |
- return kComplex_ClipType; |
-} |
-#endif |
- |
const SkRegion& SkCanvas::internal_private_getTotalClip() const { |
return fMCRec->fRasterClip.forceGetBW(); |
} |