Index: src/utils/debugger/SkDrawCommand.h |
diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h |
index f2e151ae4f40ef3a30eb99d326fea387dce87e3c..a0bfb2ddca5e5fa05ea382eafe72132cbea0144d 100644 |
--- a/src/utils/debugger/SkDrawCommand.h |
+++ b/src/utils/debugger/SkDrawCommand.h |
@@ -343,12 +343,12 @@ private: |
class SkDrawPictureCommand : public SkDrawCommand { |
public: |
- SkDrawPictureCommand(SkPicture& picture); |
+ SkDrawPictureCommand(const SkPicture* picture); |
virtual void execute(SkCanvas* canvas) SK_OVERRIDE; |
virtual bool render(SkCanvas* canvas) const SK_OVERRIDE; |
private: |
- SkPicture fPicture; |
+ SkAutoTUnref<const SkPicture> fPicture; |
typedef SkDrawCommand INHERITED; |
}; |