diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-09 13:58:38 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-09 13:58:38 +0000 |
commit | 08e791194a9c020b8e2991fff71688c77eeab0bc (patch) | |
tree | a1e6349dee22f82ba9c644866fc9116e17b6080e /src | |
parent | 6997e5d282fd9fa8e0d0afea7f3bd10dee96056e (diff) |
add assert
git-svn-id: http://skia.googlecode.com/svn/trunk@3874 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkWriter32.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp index 2ed65d4155..2fdb13376b 100644 --- a/src/core/SkWriter32.cpp +++ b/src/core/SkWriter32.cpp @@ -98,6 +98,7 @@ void SkWriter32::reset() { fSize = 0; fSingleBlock = NULL; if (fHeadIsExternalStorage) { + SkASSERT(fHead); fHead->rewind(); fTail = fHead; } else { |