Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index ed5bdfe6125e697e5babbb545081f9ffe5dd25a0..b2bac003f4dc7040e32c1fd06d57995f475ed7f3 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -220,7 +220,7 @@ void PictureRenderer::buildBBoxHierarchy() { |
fPicture->cullRect().height(), |
factory.get(), |
this->recordFlags()); |
- fPicture->draw(canvas); |
+ fPicture->playback(canvas); |
fPicture.reset(recorder.endRecording()); |
} |
} |
@@ -361,7 +361,7 @@ bool RecordPictureRenderer::render(SkBitmap** out) { |
factory.get(), |
this->recordFlags()); |
this->scaleToScaleFactor(canvas); |
- fPicture->draw(canvas); |
+ fPicture->playback(canvas); |
SkAutoTUnref<SkPicture> picture(recorder.endRecording()); |
if (!fWritePath.isEmpty()) { |
// Record the new picture as a new SKP with PNG encoded bitmaps. |