#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:
parent
2080635ce0
commit
39ac1aec0e
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user