Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 60c4fe898dac64412654fbbf55c72f8bfaecef13..6b8930436f1117c2c3bc5ba1ae8fc19cfaf3effa 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -129,8 +129,8 @@ void SkPicturePlayback::handleOp(SkReadBuffer* reader, |
reader->skip(size - 4); |
} break; |
case CLIP_PATH: { |
- const SkPath& path = fPictureData->getPath(reader); |
- uint32_t packed = reader->readInt(); |
+ const SkPath& path = fPictureData->getPath(reader); |
+ uint32_t packed = reader->readInt(); |
SkRegion::Op regionOp = ClipParams_unpackRegionOp(packed); |
bool doAA = ClipParams_unpackDoAA(packed); |
size_t offsetToRestore = reader->readInt(); |
@@ -616,10 +616,6 @@ void SkPicturePlayback::handleOp(SkReadBuffer* reader, |
SkScalar dy = reader->readScalar(); |
canvas->translate(dx, dy); |
} break; |
- case TRANSLATE_Z: { |
- SkScalar dz = reader->readScalar(); |
- canvas->translateZ(dz); |
- } |
default: |
SkASSERTF(false, "Unknown draw type: %d", op); |
} |