#if SK_DEBUG -> #ifdef SK_DEBUG in SkTDLinkedList.h (to fix chrome android trybot errors)

git-svn-id: http://skia.googlecode.com/svn/trunk@5251 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-08-23 13:24:31 +00:00
parent 2080635ce0
commit 39ac1aec0e

View File

@ -67,7 +67,7 @@ public:
entry->fPrev = NULL; entry->fPrev = NULL;
entry->fNext = NULL; entry->fNext = NULL;
#if SK_DEBUG #ifdef SK_DEBUG
entry->fList = NULL; entry->fList = NULL;
#endif #endif
} }
@ -86,7 +86,7 @@ public:
fTail = entry; fTail = entry;
} }
#if SK_DEBUG #ifdef SK_DEBUG
entry->fList = this; entry->fList = this;
#endif #endif
} }
@ -140,7 +140,7 @@ public:
T* fCur; T* fCur;
}; };
#if SK_DEBUG #ifdef SK_DEBUG
void validate() const { void validate() const {
GrAssert(!fHead == !fTail); GrAssert(!fHead == !fTail);
} }