Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index f2d959d3d6c8bb5d11af8a69f48a2acad892bab2..5a016d48d61ac1b09eb6ba73576088b170bf2fad 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -997,7 +997,8 @@ void SkPicturePlayback::draw(SkCanvas& canvas, SkDrawPictureCallback* callback) |
case DRAW_RRECT: { |
const SkPaint& paint = *getPaint(reader); |
SkRRect rrect; |
- canvas.drawRRect(*reader.readRRect(&rrect), paint); |
+ reader.readRRect(&rrect); |
+ canvas.drawRRect(rrect, paint); |
} break; |
case DRAW_SPRITE: { |
const SkPaint* paint = getPaint(reader); |