Index: samplecode/SamplePictFile.cpp |
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp |
index 43e7cf49e546cefcbe8d2d4dc915835aab8d236c..9203cbad7778fa2610a70d1958dde7dd33e2e8f4 100644 |
--- a/samplecode/SamplePictFile.cpp |
+++ b/samplecode/SamplePictFile.cpp |
@@ -191,7 +191,7 @@ private: |
switch (bbox) { |
case kNo_BBoxType: |
// no bbox playback necessary |
- return pic.detach(); |
+ return pic.release(); |
case kRTree_BBoxType: |
factory.reset(new SkRTreeFactory); |
break; |