Index: samplecode/SamplePictFile.cpp |
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp |
index c0973a5042697e2a40ae88e16bd251eb7fc117e3..dd315f8a14db1e1036dd353b798b3ba5567b506d 100644 |
--- a/samplecode/SamplePictFile.cpp |
+++ b/samplecode/SamplePictFile.cpp |
@@ -194,7 +194,7 @@ private: |
// no bbox playback necessary |
return pic.detach(); |
case kRTree_BBoxType: |
- factory.reset(SkNEW(SkRTreeFactory)); |
+ factory.reset(new SkRTreeFactory); |
break; |
default: |
SkASSERT(false); |