Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index d889174a2aa2271800e4743f96c5ad82e18bc4a0..d294b1656e97d19b430105251338af4e80949d8a 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1484,6 +1484,10 @@ void SkCanvas::replayClips(ClipVisitor* visitor) const { |
/////////////////////////////////////////////////////////////////////////////// |
+bool SkCanvas::isClipEmpty() const { |
+ return fMCRec->fRasterClip->isEmpty(); |
+} |
+ |
bool SkCanvas::quickReject(const SkRect& rect) const { |
if (!rect.isFinite()) |