Index: src/core/SkRecorder.h |
diff --git a/src/core/SkRecorder.h b/src/core/SkRecorder.h |
index 7372e540e78591f9d780f3bd075cd37a60ecd057..44fb839d59880fe0359664dd51e06fa921ffa4a2 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(); |