Index: tools/skpdiff/SkDiffContext.h |
diff --git a/tools/skpdiff/SkDiffContext.h b/tools/skpdiff/SkDiffContext.h |
index 4a878b872dda2afc9c316886dd11917404186314..863eadedfb73d1ff6cae5d237a8fbe45fbbfff91 100644 |
--- a/tools/skpdiff/SkDiffContext.h |
+++ b/tools/skpdiff/SkDiffContext.h |
@@ -188,7 +188,8 @@ private: |
// We use linked list for the records so that their pointers remain stable. A resizable array |
// might change its pointers, which would make it harder for async diffs to record their |
// results. |
- SkTLList<DiffRecord> fRecords; |
+ typedef SkTLList<DiffRecord, 1> RecordList; |
+ RecordList fRecords; |
SkImageDiffer** fDiffers; |
int fDifferCount; |