commit | 5fb2ce38b3dcb8e60e9e112df23c9d42456d7069 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Apr 17 23:35:06 2014 +0000 |
committer | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Apr 17 23:35:06 2014 +0000 |
tree | 521360e38040e661934a07f7fe1c2c49f520940b | |
parent | d24a130c1217873d0744d35722005516a0acb774 [diff] [blame] |
Staged removal of SkPicture-derived classes This CL removes the SkPicture-derived classes (with a flag to keeps clients working). In the process it also lightens the recording factory function so it is no longer ref counted). The only interesting bits are in SkPicture* and Sk*Picture.* [email protected] Author: [email protected] Review URL: https://codereview.chromium.org/238273012 git-svn-id: http://skia.googlecode.com/svn/trunk@14251 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp index d267012..ffae6a4 100644 --- a/samplecode/SampleTiling.cpp +++ b/samplecode/SampleTiling.cpp
@@ -106,7 +106,7 @@ SkPictureRecorder recorder; SkCanvas* textCanvas = NULL; if (NULL == fTextPicture) { - textCanvas = recorder.beginRecording(1000, 1000); + textCanvas = recorder.beginRecording(1000, 1000, NULL, 0); } if (NULL != textCanvas) {