diff options
| author | reed <reed@google.com> | 2014-12-09 12:33:38 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2014-12-09 12:33:38 -0800 |
| commit | 2c1605a1fbaa2e35a27399a34254fb1200ec2ae6 (patch) | |
| tree | 3b85dbe084734ed436783de6593c5b35ef3e9867 /samplecode/SamplePictFile.cpp | |
| parent | 269edd5f7ec37f417b5a64b5ebb4929cd7fce18c (diff) | |
remove (dumb) canvas::NewRaster, and rename surface::NewRasterPMColor to N32Premul
patch from issue 781403002 at patchset 20001 (http://crrev.com/781403002#ps20001)
BUG=skia:
Review URL: https://codereview.chromium.org/790733003
Diffstat (limited to 'samplecode/SamplePictFile.cpp')
| -rw-r--r-- | samplecode/SamplePictFile.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp index df0c369736..453624ec74 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(), |
