Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 8b8c6b0862dad7bb6d0bc643de3b09b0abca4fd7..57356459eedfef3bc855f431ce6a7bcbd07fb912 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -910,6 +910,13 @@ void SkPicturePlayback::draw(SkCanvas& canvas, SkDrawPictureCallback* callback) |
canvas.drawData(reader.skip(length), length); |
// skip handles padding the read out to a multiple of 4 |
} break; |
+ case DRAW_DRRECT: { |
+ const SkPaint& paint = *getPaint(reader); |
+ SkRRect outer, inner; |
+ reader.readRRect(&outer); |
+ reader.readRRect(&inner); |
+ canvas.drawDRRect(outer, inner, paint); |
+ } break; |
case BEGIN_COMMENT_GROUP: { |
const char* desc = reader.readString(); |
canvas.beginCommentGroup(desc); |