Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: tools/skpdiff/SkDiffContext.cpp

Issue 1457123002: Make block size a template parameter of SkTLList (Closed) Base URL: https://skia.googlesource.com/skia.git@forward
Patch Set: another missing typename Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/skpdiff/SkDiffContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skpdiff/SkDiffContext.cpp
diff --git a/tools/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp
index e76237a86a37e80d4712bf8b17df58fcdc6ccb11..33904bfc93c07d93db2ce558574d83304a1d3224 100644
--- a/tools/skpdiff/SkDiffContext.cpp
+++ b/tools/skpdiff/SkDiffContext.cpp
@@ -261,7 +261,7 @@ void SkDiffContext::diffPatterns(const char baselinePattern[], const char testPa
}
void SkDiffContext::outputRecords(SkWStream& stream, bool useJSONP) {
- SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart);
+ RecordList::Iter iter(fRecords, RecordList::Iter::kHead_IterStart);
DiffRecord* currentRecord = iter.get();
if (useJSONP) {
@@ -373,7 +373,7 @@ void SkDiffContext::outputCsv(SkWStream& stream) {
stream.writeText("key");
- SkTLList<DiffRecord>::Iter iter(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart);
+ RecordList::Iter iter(fRecords, RecordList::Iter::kHead_IterStart);
DiffRecord* currentRecord = iter.get();
// Write CSV header and create a dictionary of all columns.
@@ -394,7 +394,7 @@ void SkDiffContext::outputCsv(SkWStream& stream) {
double values[100];
SkASSERT(cntColumns < 100); // Make the array larger, if we ever have so many diff types.
- SkTLList<DiffRecord>::Iter iter2(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart);
+ RecordList::Iter iter2(fRecords, RecordList::Iter::kHead_IterStart);
currentRecord = iter2.get();
while (currentRecord) {
for (int i = 0; i < cntColumns; i++) {
« no previous file with comments | « tools/skpdiff/SkDiffContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698