diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-17 23:35:06 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-17 23:35:06 +0000 |
commit | 5fb2ce38b3dcb8e60e9e112df23c9d42456d7069 (patch) | |
tree | 521360e38040e661934a07f7fe1c2c49f520940b /debugger | |
parent | d24a130c1217873d0744d35722005516a0acb774 (diff) |
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.*
R=reed@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/238273012
git-svn-id: http://skia.googlecode.com/svn/trunk@14251 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger')
-rw-r--r-- | debugger/SkDebugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp index 5bdc8a9fb4..164c5d60a2 100644 --- a/debugger/SkDebugger.cpp +++ b/debugger/SkDebugger.cpp @@ -42,7 +42,7 @@ SkPicture* SkDebugger::copyPicture() { // We can't just call clone here since we want to removed the "deleted" // commands. Playing back will strip those out. SkPictureRecorder recorder; - SkCanvas* canvas = recorder.beginRecording(fPictureWidth, fPictureHeight); + SkCanvas* canvas = recorder.beginRecording(fPictureWidth, fPictureHeight, NULL, 0); bool vizMode = fDebugCanvas->getMegaVizMode(); fDebugCanvas->setMegaVizMode(false); |