Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index b4cac52dd45c5cff28c5cf56447ecc4c6905401c..1c9b13e4450bf959cc8efd1545b002c693c330f3 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -148,18 +148,8 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
reader->setOffset(offsetToRestore); |
} |
} break; |
- case PUSH_CULL: { |
- const SkRect& cullRect = reader->skipT<SkRect>(); |
- size_t offsetToRestore = reader->readInt(); |
- if (offsetToRestore && canvas->quickReject(cullRect)) { |
- reader->setOffset(offsetToRestore); |
- } else { |
- canvas->pushCull(cullRect); |
- } |
- } break; |
- case POP_CULL: |
- canvas->popCull(); |
- break; |
+ case PUSH_CULL: break; // Deprecated, safe to ignore both push and pop. |
+ case POP_CULL: break; |
case CONCAT: { |
SkMatrix matrix; |
reader->readMatrix(&matrix); |