aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-19 22:32:11 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-19 22:32:11 +0000
commitc29f3d8c6dec938fd0599db30cae590fcaa2108b (patch)
treed92ce1ba4cddd6e37c8eda6a38a9f683a70037b4 /src
parent2b0ab9e13a7d0f4e8a4151d5b75a8520546b4862 (diff)
Add a detachAsStream to SkDynamicMemoryWStream.
Diffstat (limited to 'src')
-rw-r--r--src/core/SkStream.cpp2
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();