From 9474ed06176fe24c77091b0d75f35442e851073f Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Tue, 4 Sep 2012 13:34:32 +0000 Subject: Switch GrGpu's GrResource list over to using SkTDLinkedList https://codereview.appspot.com/6500062/ git-svn-id: http://skia.googlecode.com/svn/trunk@5379 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkTDLinkedList.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/core') 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; -- cgit v1.2.3