Index: src/core/SkPicture.cpp |
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp |
index c0fc37105471dee3ca3c52d2c8d8f1c83635edc7..e80a17bd22cda92bae2feef21fc0a42f69dafa3b 100644 |
--- a/src/core/SkPicture.cpp |
+++ b/src/core/SkPicture.cpp |
@@ -327,7 +327,7 @@ const SkMatrix& SkPicture::OperationList::matrix(int index) const { |
} |
// fRecord OK |
-void SkPicture::draw(SkCanvas* canvas, SkDrawPictureCallback* callback) const { |
+void SkPicture::playback(SkCanvas* canvas, SkDrawPictureCallback* callback) const { |
SkASSERT(NULL != canvas); |
SkASSERT(NULL != fData.get() || NULL != fRecord.get()); |
@@ -459,7 +459,7 @@ SkPicture::SkPicture(SkPictureData* data, SkScalar width, SkScalar height) |
SkPicture* SkPicture::Forwardport(const SkPicture& src) { |
SkAutoTDelete<SkRecord> record(SkNEW(SkRecord)); |
SkRecorder canvas(record.get(), src.cullRect().width(), src.cullRect().height()); |
- src.draw(&canvas); |
+ src.playback(&canvas); |
return SkNEW_ARGS(SkPicture, (src.cullRect().width(), src.cullRect().height(), |
record.detach(), NULL/*bbh*/)); |
} |