diff options
Diffstat (limited to 'src/core/SkRecorder.h')
-rw-r--r-- | src/core/SkRecorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRecorder.h b/src/core/SkRecorder.h index 7372e540e7..44fb839d59 100644 --- a/src/core/SkRecorder.h +++ b/src/core/SkRecorder.h @@ -48,7 +48,7 @@ public: size_t approxBytesUsedBySubPictures() const { return fApproxBytesUsedBySubPictures; } SkDrawableList* getDrawableList() const { return fDrawableList.get(); } - SkDrawableList* detachDrawableList() { return fDrawableList.detach(); } + SkDrawableList* detachDrawableList() { return fDrawableList.release(); } // Make SkRecorder forget entirely about its SkRecord*; all calls to SkRecorder will fail. void forgetRecord(); |