Index: bench/PictureNestingBench.cpp |
diff --git a/bench/PictureNestingBench.cpp b/bench/PictureNestingBench.cpp |
index aecd7ed34503125a25af2a78f1e7edeffa72a2df..f1adb6084026d9703cae83a502425a43cbb1137c 100644 |
--- a/bench/PictureNestingBench.cpp |
+++ b/bench/PictureNestingBench.cpp |
@@ -23,8 +23,8 @@ public: |
fPaint.setColor(SK_ColorRED); |
fPaint.setAntiAlias(true); |
fPaint.setStyle(SkPaint::kStroke_Style); |
- fName.printf("picture_nesting_%s_%d", name, |
- this->sierpinsky(SkCreateNullCanvas(), 0, fPaint)); |
+ SkAutoTUnref<SkCanvas> nullCanvas(SkCreateNullCanvas()); |
tfarina
2014/09/17 16:42:34
looks right, since nothing in sierpinsky() takes o
|
+ fName.printf("picture_nesting_%s_%d", name, this->sierpinsky(nullCanvas, 0, fPaint)); |
} |
protected: |