Index: src/core/SkTDPQueue.h |
diff --git a/src/core/SkTDPQueue.h b/src/core/SkTDPQueue.h |
index 9efde01b669ed34358d31cf8d29788fa52c4e30a..ae9dc25227a1daa51b98db922da2db85ec8b3354 100644 |
--- a/src/core/SkTDPQueue.h |
+++ b/src/core/SkTDPQueue.h |
@@ -92,6 +92,10 @@ public: |
this->validate(); |
} |
+#ifdef SK_DEBUG |
+ T at(int i) const { return fArray[i]; } |
+#endif |
+ |
private: |
static int LeftOf(int x) { SkASSERT(x >= 0); return 2 * x + 1; } |
static int ParentOf(int x) { SkASSERT(x > 0); return (x - 1) >> 1; } |