aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-04 13:34:32 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-04 13:34:32 +0000
commit9474ed06176fe24c77091b0d75f35442e851073f (patch)
tree8af93b0a79523f4fcea4b10f9e14053c6434a63b /include/core
parentb78765e63b5de5a7dfe5f9f6813f6df81cae14ae (diff)
Switch GrGpu's GrResource list over to using SkTDLinkedList
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;