Index: samplecode/SamplePictFile.cpp |
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp |
index df0c369736a0986529ac9836e415ac7e58e360b4..453624ec7421c55214eebdde3f415b0ded3d2278 100644 |
--- a/samplecode/SamplePictFile.cpp |
+++ b/samplecode/SamplePictFile.cpp |
@@ -136,12 +136,6 @@ private: |
SkDebugf("coun't load picture at \"path\"\n", path); |
} |
- if (false) { |
- SkSurface* surf = SkSurface::NewRasterPMColor(SkScalarCeilToInt(pic->cullRect().width()), |
- SkScalarCeilToInt(pic->cullRect().height())); |
- surf->getCanvas()->drawPicture(pic); |
- surf->unref(); |
- } |
if (false) { // re-record |
SkPictureRecorder recorder; |
pic->playback(recorder.beginRecording(pic->cullRect().width(), |