Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 5e304d86611824ab7d13b79ef3e797672df46485..35021cba9f643423bf314ae8e3efb844a5ffe9bd 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -1470,7 +1470,7 @@ void SampleWindow::afterChildren(SkCanvas* orig) { |
if (true) { |
SkPicture* pict = new SkPicture(*picture); |
this->installDrawFilter(orig); |
- orig->drawPicture(*pict); |
+ orig->drawPicture(pict); |
pict->unref(); |
} else if (true) { |
SkDynamicMemoryWStream ostream; |
@@ -1480,7 +1480,7 @@ void SampleWindow::afterChildren(SkCanvas* orig) { |
SkMemoryStream istream(data->data(), data->size()); |
SkAutoTUnref<SkPicture> pict(SkPicture::CreateFromStream(&istream)); |
if (pict.get() != NULL) { |
- orig->drawPicture(*pict.get()); |
+ orig->drawPicture(pict.get()); |
} |
} else { |
picture->draw(orig); |