Index: src/gpu/GrClipMaskCache.h |
diff --git a/src/gpu/GrClipMaskCache.h b/src/gpu/GrClipMaskCache.h |
index 97b4b515cc9b72b40161f3af5d9aa470b9468604..213e2823e37182648b35d259dd3a6fbb2738c891 100644 |
--- a/src/gpu/GrClipMaskCache.h |
+++ b/src/gpu/GrClipMaskCache.h |
@@ -36,10 +36,6 @@ public: |
SkASSERT(clipGenID != SkClipStack::kWideOpenGenID); |
SkASSERT(clipGenID != SkClipStack::kEmptyGenID); |
- if (SkClipStack::kInvalidGenID == clipGenID) { |
- return false; |
- } |
- |
GrClipStackFrame* back = (GrClipStackFrame*) fStack.back(); |
// We could reuse the mask if bounds is a subset of last bounds. We'd have to communicate |