diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-19 22:32:11 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-19 22:32:11 +0000 |
commit | c29f3d8c6dec938fd0599db30cae590fcaa2108b (patch) | |
tree | d92ce1ba4cddd6e37c8eda6a38a9f683a70037b4 /src | |
parent | 2b0ab9e13a7d0f4e8a4151d5b75a8520546b4862 (diff) |
Add a detachAsStream to SkDynamicMemoryWStream.
R=reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=10171
Committed: https://code.google.com/p/skia/source/detail?r=10178
Review URL: https://codereview.chromium.org/19677002
git-svn-id: http://skia.googlecode.com/svn/trunk@10218 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp index b251905633..36a6f96fcd 100644 --- a/src/core/SkStream.cpp +++ b/src/core/SkStream.cpp @@ -781,7 +781,7 @@ private: size_t fCurrentOffset; }; -SkStreamAsset* SkDynamicMemoryWStream::detatchAsStream() { +SkStreamAsset* SkDynamicMemoryWStream::detachAsStream() { if (fCopy) { SkMemoryStream* stream = SkNEW_ARGS(SkMemoryStream, (fCopy)); this->reset(); |