aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkTDLinkedList.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkTDLinkedList.h b/include/core/SkTDLinkedList.h
index 88bf96d347..92478121bb 100644
--- a/include/core/SkTDLinkedList.h
+++ b/include/core/SkTDLinkedList.h
@@ -48,6 +48,7 @@ public:
}
void remove(T* entry) {
+ SkASSERT(NULL != fHead && NULL != fTail);
SkASSERT(this->isInList(entry));
T* prev = entry->fPrev;